bluzky / nice-select2

A lightweight vanilla javascript library that replaces native select elements with customizable dropdowns
https://bluzky.github.io/nice-select2/
MIT License
370 stars 61 forks source link

Add option to change search placeholder #37

Closed LukeSavefrogs closed 1 year ago

LukeSavefrogs commented 2 years ago

It would be very useful to add the possibility to change the default text for the input element used to search when searchable is set to true.

As of now it shows only "Search...", which is not ideal when i need to customize the i18n of the app. image

It could be something like this... image

I could provide a PR for this, since i think i'll either way fork this project and add the changes i need 😄

Tsjippy commented 1 year ago

fixed