freshworks / crayons

🖍️ Crayons - A UI Kit comprising of web components for building Freshworks Apps!
https://crayons.freshworks.com
219 stars 61 forks source link

[Bug] - Datepicker setting value dynamically is not updating the component #835

Closed maccesch closed 1 year ago

maccesch commented 1 year ago

Component Datepicker

Describe the bug When setting the value prop after the component has been created the component doesn't update.

To Reproduce

document.getElementById('date-picker').value = "2022-01-01T12:00:00Z";

Expected behavior Component should properly update.