You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for Stimulus 2.0's Values API would be useful, so that flatpickr options could be provided as attributes like data-flatpickr-the-option-value (in addition to deprecated support for data-flatpickr-the-option).
I think that support would be straight-forward and I could likely provide a PR.
(And thanks for providing this helpful and clean library!)
The text was updated successfully, but these errors were encountered:
yes this is definitely on my roadmap to support the value API. And some overalls clean up of this library, but I was quite busy with Stimulus Use recently.
Also initially I wanted to wait for this PR to be merged as I think it could simplify the implementation. But it is not mandatory to wait for that.
A PR would be very welcome and could be a starting point for a v2.0 of this package.
A PR would be very welcome and could be a starting point for a v2.0 of this package.
Do you want it to be backwards compatible with v1.0 this.data support, or to only support the new *-value attribute names? Either seems reasonable, with the latter an option if you're planning on a breaking 2.0 release.
Support for Stimulus 2.0's Values API would be useful, so that flatpickr options could be provided as attributes like
data-flatpickr-the-option-value
(in addition to deprecated support fordata-flatpickr-the-option
).I think that support would be straight-forward and I could likely provide a PR.
(And thanks for providing this helpful and clean library!)
The text was updated successfully, but these errors were encountered: