Replies: 1 comment
-
Hi @bci24,
It's better if you can "setup" your options passed to the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am having a helper function that return a list of options
the labels are some keys that needs to be translated on rendered (using Vue I18n).
I tried the
get-option-label
but I get warning in the console:
I guess it tries to translate again .... after the keys are found. In the fronted it shows the correct label... but the warnings ....
So, I tried another solution, by removing the
get-option-label
and translate them before they reach to the vueselect component:it works this workaround, but I don't like it very much.
How to translate the labels using get-option-label?
Beta Was this translation helpful? Give feedback.
All reactions