mobx-sentinel API doc
    Preparing search index...
    Config: {
        id?: Attrs["id"];
        onChange?: Attrs["onChange"];
        onFocus?: Attrs["onFocus"];
    } & (
        | {
            getter: () => string;
            multiple?: false;
            setter: (value: string) => void;
        }
        | {
            getter: () => string[];
            multiple: true;
            setter: (value: string[]) => void;
        }
    )

    Type declaration

    • Optionalid?: Attrs["id"]

      [Override] ID of the input element

    • OptionalonChange?: Attrs["onChange"]

      [Extend] Change handler

    • OptionalonFocus?: Attrs["onFocus"]

      [Extend] Focus handler

    • { getter: () => string; multiple?: false; setter: (value: string) => void }
      • getter: () => string

        Get the value from the model

      • Optionalmultiple?: false

        Whether multiple options can be selected in the list

      • setter: (value: string) => void

        Set the value to the model

    • { getter: () => string[]; multiple: true; setter: (value: string[]) => void }
      • getter: () => string[]

        Get the value from the model

      • multiple: true

        Whether multiple options can be selected in the list

      • setter: (value: string[]) => void

        Set the value to the model