Skip to content

Multiselect.allowCreatingOptions method

Multiselect › allowCreatingOptions

Unofficial

Allow creating options for the multiselect.

Signature:

allowCreatingOptions(createOption: (this: Multiselect, value: string) => string | undefined): this

Parameters:

Parameter Type Description
createOption (this: Multiselect, value: string) => string | undefined the function to create an option.

Returns: thisthe multiselect.