Closed nelson6e65 closed 6 years ago
I will check it
Also, other props in the picker panel are not reactive (like default date or current date if I set from javascript instead of clicking).
I think is because this info is only changed when initialized, and do not changes (L144 for lang
, for example):
Maybe some actions in the content of this conditional should be handled separately. Or move initialization to the mounted()
method and remove the conditional.
Yes, some prop of the component only changed when initialized. Maybe should add some methods to listen to the prop changed.
fix it in v3.1.0
: https://github.com/dwqs/v2-datepicker/releases/tag/v3.1.0
I used a data variable for the current locale. I try to bind with
lang
prop of<v2-datepicker>
, but I must reload the page to apply the datepick lang change.