Multiselect.allowCreatingOptions method
Multiselect › allowCreatingOptions
Unofficial
Allow creating options for the multiselect.Signature:
allowCreatingOptions(createOption: (this: Multiselect, value: string) => string | undefined): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| createOption | (this: Multiselect, value: string) => string | undefined | the function to create an option. |
Returns: this — the multiselect.