I believe this fixes the datepicker issue.
⚠️ It would be nice to add a couple of unit tests.
Cases like binding both value and invalid text or binding an incorrect value are not properly tested.
And who knows what happens when you have both prefill and invalidText!
This amended commit adds some tests on invalid text + prefill + helptext
fix #303 Infinite loop on datepicker
Integrated in 027a79e