vue-pikaday
vue-pikaday copied to clipboard
Auto-Convert vue model value to Date
Everytime the vue value changes to datetime string (api response loaded is loaded) the input is cleared.
Current solution is converting the API value to Date object before assigning to property that is loaded into Pickaday.
Proposal: Improve function that watches external changes to check if string value is valid datetime string and convert it to Date object. p.s. Value validation function already does that
Hello @mvehar, thank you for the issue report.
Please open PR with suggested changes.