How to add data attribute on input?
f108156106 opened this issue · 2 comments
f108156106 commented
I want to use i18next change language,
but set placeholder is fixed text,
so How to add data attribute.
perikorese commented
I'm not the developer, but I'm also using i18next in a project with bootstrap5-tags and I can do this without problems in an EJS template:
data-placeholder="<%= t('Text string for translation') %>"
f108156106 commented
@perikorese I use setConfig and resetSearchInput function change i18n.