-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar form field on('change') event handler not working #521
Comments
@skondakov - How do you setup your onChange handler? This is working fine for me and I can properly see output in console:
I simply pass the onChange option to the date field passing a jsExpression to it. |
I think he uses jsInput()->on('change', ... ) , which works with regular inputs, but is not being triggered by semantic ui. In which case it probably is a fomantic's issue. If that's the case, perhaps Fomantic-UI can do it (see also #523) |
Seems like fomantic is not using any calendar input yet... And in our case, we are using mdehoog calendar input: https://github.com/mdehoog/Semantic-UI-Calendar Mdehoog input use it's own 'change' event handler internally for which you can hook up using the 'onChange' option of the calendar input. |
could be solved by #523 |
* works around Calendar field issue (#521) * it's more intuitive and makes developers life easier :) * includes demo * includes documentation
Switched to Fomantic. Need to test if this is now ok and if it is - close ticket. |
Fix in #547 |
When I set an on change event handler on a Calendar form field, even a simple alert, it is not being executed.
The text was updated successfully, but these errors were encountered: