- Issue created by @mnakov
- 🇭🇺Hungary nagy.balint
Thank you!
I think that we should implement this in a more generic way.
The new option could be in DateTimeFlatPickrWidgetTrait.php
And that could work in the widget settings as well as in the Element, and in the better exposed filters widget.
Then all settings could be made available in the webform similarly to how it was done in the better exposed filter widget (FlatpickrDateBef.php)
- 🇧🇬Bulgaria mnakov
@nagy.balint, you are right. I'm uploading and updated patch to serve my current needs and will investigate a more generic way, as you say when I have more time. The patch is updated with date format validation. Removed the native dates of the week management as they use backend validation, but I need js validation without submission of the form. Added new way of disabling the days of the week.