techouse / intl-date-time

International DateTime for Laravel Nova

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programmed filling

GautierDele opened this issue · comments

There is an issue with the programmed filling.

When you set the "localized value" you need to click on the field to actualize the correct value when you are not using the normal value "Y-m-d". We are using "d/m/Y".

@techouse do you have any idea how to force the logic that is hapenning when clicking the component ?

I'm guessing that this logic is run on the mounted event in IntlDateTimePicker.vue

I'm guessing that rerunning this part of the code: https://github.com/techouse/intl-date-time/blob/master/resources/js/components/IntlDateTimePicker.vue#L232

might fix this. Will have a look asap