jquery-simple-combobox icon indicating copy to clipboard operation
jquery-simple-combobox copied to clipboard

Accent filtering problem

Open indesignlatam opened this issue 9 years ago • 1 comments

Hi, In first place thanks for the great work on this combobox.

While working in a project I realised that in some cases there may be the need of ignoring the accents when filtering the options for example, I type Cajica but the Cajicá option is not showed.

Can someone guide me in the right direction for doing this.

An option like ignoreAccent may be a good add.

indesignlatam avatar Jun 17 '15 14:06 indesignlatam

@wanchopeblanco thank you very mush for this suggestion, it's very useful. I've added an option the same way as filterIgnoreCase. It is false by default, but you can easily change the default settings of your plugin by:

$().scombobox.extendDefaults({filterIgnoreAccents: true});

ivkremer avatar Jun 19 '15 00:06 ivkremer