Skip to content

Make the label prop reactive#244

Open
valgeirb wants to merge 1 commit intochronotruck:devfrom
valgeirb:label-prop-reactive
Open

Make the label prop reactive#244
valgeirb wants to merge 1 commit intochronotruck:devfrom
valgeirb:label-prop-reactive

Conversation

@valgeirb
Copy link
Copy Markdown

I ran into a problem when using the label prop dynamically and with a custom element. My particular problem was that when using Vue I18n:

<VueCtkDateTimePicker :label="$t('components.dateTimePicker.label')">
  <FilterButton />
</VueCtkDateTimePicker>

The text would just become "COMPONENTS.DATETIMEPICKER.LABEL" instead of changing to the corresponding translation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant