Open andreacasarin opened 1 year ago
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: https://github.com/platanus/activeadmin_addons/blob/cf71013d7423d4ba7a5f721acf35731fbcd37f37/app/javascript/activeadmin_addons/inputs/slim-select.js#L27
The search placeholders seems to be using the default instead, as pointed out here:
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.
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: https://github.com/platanus/activeadmin_addons/blob/cf71013d7423d4ba7a5f721acf35731fbcd37f37/app/javascript/activeadmin_addons/inputs/slim-select.js#L27
The search placeholders seems to be using the default instead, as pointed out here:
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.