Add custom cancel label prop for MdDatepickerDialog.vue
johnkristijan opened this issue · 2 comments
johnkristijan commented
Hi,
I am using Vue Material for a project where I need to support several languages.
It would be nice if I could decide the label/text for the Cancel button myself.
Therefore I would like to suggest to add a customLabel
property for the MdDatepickerDialog.vue component where the default can be 'Cancel', see @line 82.
I am sure this is an easy fix and would help others in the same situation 👍
Dan-Correia commented
Hi @johnkristijan,
There's no need to pass it in as a prop on the component, since this is a setting that can be configured as you can see on the documentation here.
johnkristijan commented
Ah, yes, it was fixed in #2278, 2 months ago. Thanks.