Module Select.Props

The select. selection_mode is read as it is made. Its value is the ids of the options chosen, one at most in a choice of one, while it is given, else those it keeps, default_value at first; a change calls on_change with them, and clearing calls on_clear too. An option whose id disabled_keys holds is disabled.

type t
val check : ?placeholder:string Solidtype.Check.value -> ?selection_mode:[ `single | `multiple ] Solidtype.Check.value -> ?value:string array Solidtype.Check.value -> ?default_value:string array Solidtype.Check.value -> ?on_change:(string array -> unit) -> ?on_clear:(unit -> unit) -> ?disabled_keys:string array Solidtype.Check.value -> ?is_open:bool Solidtype.Check.value -> ?default_open:bool Solidtype.Check.value -> ?on_open_change:(bool -> unit) -> ?is_disabled:bool Solidtype.Check.value -> ?is_required:bool Solidtype.Check.value -> ?is_invalid:bool Solidtype.Check.value -> ?name:string Solidtype.Check.value -> ?full_width:bool Solidtype.Check.value -> ?variant:[ `primary | `secondary ] Solidtype.Check.value -> ?class_:string Solidtype.Check.value -> children:(_, [ `nodes ]) Solidtype.Check.children -> ?props:t Solidtype.Solid.rest -> unit -> unit