Lowdefy
v3.17.2/input/NumberInput/

NumberInput

value type: number

The NumberInput allows a user to input a number.

block_id: null

id: block_id
type: NumberInput

properties:
Autofocus to the block on page load.
Separator between number and decimal places.
Disable the block if true.
Css style to applied to input.
label:
Align label left or right when inline.
Append label with colon.
Hide input label.
Extra text to display beneath the content.
Css style to applied to label extra.
Css style to applied to label feedback.
Display feedback extra from validation, this does not disable validation.
Render input and label inline.
Label inline span.
Label title.
Maximum value allowed by the block.
Minimum value allowed by the block.
Placeholder text inside the block to show message before user types input.
Precision (number of decimal places) allowed by the block.
Size of the block.
The number to which the current value is increased or decreased. It can be an integer or decimal.
Number input label title.
type: object
properties:
  events:
    additionalProperties: false
    properties:
      onChange:
        description: Trigger actions when number is changed.
        type: array
      onPressEnter:
        description: Trigger actions when input is focused and enter is pressed.
        type: array
    type: object
  properties:
    additionalProperties: false
    properties:
      autoFocus:
        default: false
        description: Autofocus to the block on page load.
        type: boolean
      decimalSeparator:
        default: .
        description: Separator between number and decimal places.
        type: string
      disabled:
        default: false
        description: Disable the block if true.
        type: boolean
      inputStyle:
        description: Css style to applied to input.
        type: object
      label:
        additionalProperties: false
        description: Label properties.
        properties:
          align:
            default: left
            description: Align label left or right when inline.
            enum:
              - left
              - right
            type: string
          colon:
            default: true
            description: Append label with colon.
            type: boolean
          disabled:
            default: false
            description: Hide input label.
            type: boolean
          extra:
            description: Extra text to display beneath the content.
            type: string
          extraStyle:
            description: Css style to applied to label extra.
            type: object
          feedbackStyle:
            description: Css style to applied to label feedback.
            type: object
          hasFeedback:
            default: true
            description: >-
              Display feedback extra from validation, this does not disable
              validation.
            type: boolean
          inline:
            default: false
            description: Render input and label inline.
            type: boolean
          span:
            description: Label inline span.
            type: number
          title:
            description: Label title.
            type: string
        type: object
      max:
        description: Maximum value allowed by the block.
        type: number
      min:
        description: Minimum value allowed by the block.
        type: number
      placeholder:
        description: >-
          Placeholder text inside the block to show message before user types
          input.
        type: string
      precision:
        description: Precision (number of decimal places) allowed by the block.
        type: integer
      size:
        default: default
        description: Size of the block.
        enum:
          - small
          - default
          - large
        type: string
      step:
        default: 1
        description: >-
          The number to which the current value is increased or decreased. It can
          be an integer or decimal.
        type: number
      title:
        description: Number input label title.
        type: string
    type: object