datepicker icon indicating copy to clipboard operation
datepicker copied to clipboard

Set locale globally

Open KKSzymanowski opened this issue 6 years ago • 2 comments

Is there a way to set the datepicker language globally without always needing to add the config option to the <datepicker> tag?

KKSzymanowski avatar Oct 06 '17 09:10 KKSzymanowski

put this in your main.js file.

import Datepicker from 'vue-bulma-datepicker' Vue.component('Datepicker', Datepicker)

4fleetCo avatar Sep 17 '18 10:09 4fleetCo

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.

soaresdude avatar Oct 16 '18 21:10 soaresdude