Number

    A number field is used to input numeric data.

    import {Field} from 'alinea'
    
    Field.number('My number field', {
      minValue: 0,
      maxValue: 10,
      step: 1
    })

    Configuration

    step

    Specifies the interval between legal numbers in the input field.
    Default is 1.

    import {Field} from 'alinea'
    
    Field.number('My decimal number field', {
      step: 0.01
    })