vue-ctk-date-time-picker icon indicating copy to clipboard operation
vue-ctk-date-time-picker copied to clipboard

Make the label prop reactive

Open valgeirb opened this issue 5 years ago • 0 comments

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.

valgeirb avatar Oct 31 '19 09:10 valgeirb