-
Notifications
You must be signed in to change notification settings - Fork 85
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
fix(formvalidation): update/add missing settings #469
fix(formvalidation): update/add missing settings #469
Conversation
If this is/should be the default behaviour for the reason described in fomantic/Fomantic-UI#2791 (comment):
the docs info is fine. But this does not solve fomantic/Fomantic-UI#2791, because: a) immediately self closing form tag is broken - I have created dedicated issue for it - fomantic/Fomantic-UI#2792
In atk4/ui DOM we can add/remove form field even after the form has been init. Would it be possible to introduce a setting to not init any field by the form module? In atk4/ui we init every field component manually, thus any auto init is problematic. |
I consider this a feature 😄 The
Anyway, i added an option to ignore module init when a form is initiated now by fomantic/Fomantic-UI#2793 However, dealing with "reset" or "clear" of a form will still reset/clear such fields and, if not already initiated beforehand, will trigger the init nevertheless (which is consistent, if by the time a form should be reset/clears manually / via buttons dropdown/calendar isnt already initiated, something went wrong in the app logic (that's why those modules are initiated at form init by default) If you still/also don't want this either: //
$('#myid').form({
selector: {
uiDropdown: '',
uiCalendar: '',
}
}) |
Thank you for your perfect reply.
Can form "reset" or "clear" be called by anything else than manual (ie. from custom even handler/code) invocation? |
Those are bound to the |
Description
Some settings were missing or had oldfashioned values