Skip to content
Discussion options

You must be logged in to vote
const angleMeasures = ref([]) // assuming it comes from somewhere somehow
// ...
const measureOptions = computed(() => angleMeasures.value.map(measure => ({
  ...measure,
  label: t(...) // translate the label here
})))

or

<q-select ... :option-label="measure => t(...) /* translate it here */"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by denprog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants