Open
Description
A clear button is automaticly added when the autocomplete is not disabled and not multiple:
if (!this.formElement.disabled && !isMultiple) {
plugins.clear_button = { title: '' };
}
How can we always disable the clear_button plugin?
Already tried, but that will result in a error
{{ stimulus_controller('symfony/ux-autocomplete/autocomplete', {tom_select_options: {maxItems: 1, plugins: {clear_button: null}}})}}
Metadata
Metadata
Assignees
Labels
No labels