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
LiveForm generates a tag for message for hidden inputs even when I specify 'no-show-valid' and 'no-live-validation' class. Those tags are empty but have initial margin so it breaks my design.
Problem is in processServerErrors method where disabled classes are not checked. This function call method getMessageElement which create a tag for message. The processServerErrors method is called in Nette.initForm function.
My suggestion is as follows:
LiveForm.processServerErrors = function(el) {
if (this.hasClass(el, this.options.disableLiveValidationClass))
return;
The text was updated successfully, but these errors were encountered:
LiveForm generates a tag for message for hidden inputs even when I specify 'no-show-valid' and 'no-live-validation' class. Those tags are empty but have initial margin so it breaks my design.
Problem is in processServerErrors method where disabled classes are not checked. This function call method getMessageElement which create a tag for message. The processServerErrors method is called in Nette.initForm function.
My suggestion is as follows:
The text was updated successfully, but these errors were encountered: