mobx-sentinel API doc
    Preparing search index...

    Binding for text input elements

    Key features:

    • Supports text, number, and date inputs
    • Handles intermediate values during typing
    • Auto-finalizes values on blur
    • Manages error states and ARIA attributes

    Implements

    • FormBinding
    Index

    Constructors

    Properties

    onBlur: FocusEventHandler<HTMLInputElement> = ...
    onChange: ChangeEventHandler<HTMLInputElement> = ...
    onFocus: FocusEventHandler<HTMLInputElement> = ...

    Accessors

    • get props(): {
          "aria-errormessage": undefined
          | string;
          "aria-invalid": undefined | boolean;
          id: string;
          onBlur: FocusEventHandler<HTMLInputElement>;
          onChange: ChangeEventHandler<HTMLInputElement>;
          onFocus: FocusEventHandler<HTMLInputElement>;
          type: HTMLInputTypeAttribute;
          value: string | number | readonly string[];
      }

      Binding properties which passed to the view component

      Returns {
          "aria-errormessage": undefined | string;
          "aria-invalid": undefined | boolean;
          id: string;
          onBlur: FocusEventHandler<HTMLInputElement>;
          onChange: ChangeEventHandler<HTMLInputElement>;
          onFocus: FocusEventHandler<HTMLInputElement>;
          type: HTMLInputTypeAttribute;
          value: string | number | readonly string[];
      }