-
Notifications
You must be signed in to change notification settings - Fork 651
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
Event-Handlers #345
Comments
Hi @jannickfahlbusch! The docs covers nearly everything, at least everything that is supported. There is |
I would use it, to register functions to these events. I want to execute some actions inside of a function, when i'm leaving/entering a field and so on |
Sure, but what is the use case? What is the problem you are trying to solve? |
I need to execute a function check() when the user has blurred the field. check() will dynamically add or remove fields, depending on the input of the user. |
I'm not sure if or when we'll implement support for more events, I guess I'd like to do it some other then adding a lot of In the meantime I suggest you listen to onBlur events from the form the old fashioned way with an ordinary event listeners :) Don't forget to broadcast a |
Exactly what event should i listen to?? I have tried "onBlur","ng-blur","ngBlur","blur" but no success. Moreover is there a way to broadcast schemaFormValidate and get back the result without any changes on the UI, like validation errors,success etc. Use Case: I want to set form autosave on blur (or after 2 seconds of inactivity whichever is possible), only when the madatory fields are filled, otherwise nothing happens. |
Allright! Any thoughts on this: Moreover is there a way to broadcast schemaFormValidate and get back the result without any changes on the UI, like validation errors,success etc. |
@subhendupsingh by "old fashioned way" I was referring to ordinary DOM Events, i.e using jQuery or by addEventListener.
|
Hi, I'am using onchange with a input date, but I need the function was executed when I loose focus (onBlur) in the field, not always when change... supose I need to change date from 2017-08-12 to 2017-08-11... But the function is executed for 2017-08-1 (when I delete the last "2" character) and then when I complete date to 2017-08-11. Any news about other events? I need to resolve this issue as commented before : "by "old fashioned way" I was referring to ordinary DOM Events, i.e using jQuery or by addEventListener."? Thanks for your comments. |
Hi, |
Hi,
We use this workaround as commented in this other issue:
Textalk/angular-schema-form-datepicker#24
Let me know if this helps you.
2017-10-20 10:43 GMT-03:00 seseso <[email protected]>:
… Hi, any news about this? I have the same requirement!
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#345 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZ8_sE23JSmAI64L06d2DTGCmTuA0ffnks5suKOBgaJpZM4D96C->
.
|
I read the docs but didn't found anything regarding handlers on the fields like onBlur(), onFocus() or something.
Do i haven't seen it, or is this functionality not implemented yet?
The text was updated successfully, but these errors were encountered: