Editor set field type to integer.

Editor set field type to integer.

classic12classic12 Posts: 228Questions: 60Answers: 4

Seems a simple thing but can't find anything anywhere.

Cheers

Steve Warby

Answers

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    You can use the attr option of the text input type to use other HTML5 input types:

    {
      name: ...,
      label: ...,
      attr: {
        type: 'number'
      }
    }
    

    Allan

This discussion has been closed.