Field type for numbers

Field type for numbers

Tech360Tech360 Posts: 6Questions: 5Answers: 0

I was looking for a field type for numbers. "<input type="number">". I guess that's what is missing. Ain't it?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 62,945Questions: 1Answers: 10,356 Site admin
    Answer ✓

    Is this in Editor? What you can do is use the attr option of the text input type:

    {
      name: "number",
      label: "My number input:",
      attr: {
        type: "number"
      }
    }
    

    Allan

This discussion has been closed.