React Autocomplete - buttons

Allows you to add custom buttons to the input text field.

Selector: Button
Type:

Array<String | TextEditorButton>

Default Value: undefined
Accepted Values: 'clear' | 'dropDown'

Built-in buttons should also be declared in this array. You can find an example in the following demo:

View Demo

location

Specifies whether to place the button before or after the input text field.

Type:

String

Default Value: 'after'
Accepted Values: 'after' | 'before'

NOTE
This property does not work for built-in buttons.

name

Specifies the button's name.

Type:

String

Default Value: undefined

See Also

options

Configures the Button UI component used as the action button.

Default Value: undefined

NOTE
This property does not work for built-in buttons.

View Demo