datepicker
datepicker copied to clipboard
Set locale globally
Is there a way to set the datepicker language globally without always needing to add the config option to the <datepicker>
tag?
put this in your main.js file.
import Datepicker from 'vue-bulma-datepicker' Vue.component('Datepicker', Datepicker)
Is there a way to set the datepicker language globally without always needing to add the config option to the
<datepicker>
tag?
@KKSzymanowski could you set the locale only on the input? Can you paste here the code? I'm trying to do the same thing, but I want to avoid setting the locale globally.