Hex Core JS
    Preparing search index...

    Function NumberInput

    • Wraps the HTML <input> element with handling for formatting and accepting numeric values. Creates an onChange function automatically using the given setValue function. Requires the input to be a controlled input.

      Handles cleaning numeric input so that while any text value is accepted, only numbers or null (NumberFieldValue) values are set.

      Parameters

      Returns Element