lekoala/bootstrap5-tags

How to add data attribute on input?

f108156106 opened this issue · 2 comments

I want to use i18next change language,
but set placeholder is fixed text,
so How to add data attribute.

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') %>"

@perikorese I use setConfig and resetSearchInput function change i18n.