Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 slim-select I18n #482

Open
andreacasarin opened this issue Sep 6, 2023 · 0 comments
Open

V2 slim-select I18n #482

andreacasarin opened this issue Sep 6, 2023 · 0 comments

Comments

@andreacasarin
Copy link

Hello and thanks for the great work!

I am trying to use the new slim-select for a project, which is working just fine feature wise, however being a non-english project, I'd need to be able translate the placeholders.

AFAIK they the empty option placeholder seems to be hardcoded here:

The search placeholders seems to be using the default instead, as pointed out here:

  • searchText - is a string value that will show in the event there are no results. Default is 'No Results'.
  • searchingText - is a string value that will show during an fetch search request. Default is 'Searching...'.
  • searchPlaceholder - is a string value that will set the value of the input search placeholder text. Default is 'Search'.

Is there any simple way to change these values? Would it be possibile to add come configuration just like we have for the date picker?

Thank you again, Andrea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant