Doubled validation popup from NetteForms - please help #411
Unanswered
darkWolf-PR
asked this question in
Support
Replies: 1 comment
-
Hi, sorry I didn't notice this earlier I've submitted a pull request that should fix this upstream: nette/forms#342 In the meantime, one way around this issue is to disable the automatic init-on-load behaviour of netteForms by invoking the following script before loading netteForms.js: window.Nette.noInit = true; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I was working on update from Naja 1.8.3 to latest and now, I´m getting doubled popups from NetteForms validation-ofter clicking send, it shows validation window, clicking ok clears one and there is second one, same, under the first one. No idea why. Tried switching order of Naja / NetteForms loading in Webloader-no success.
I´ve actually updated because of problems with TreeView in Contributte/Datagrid in my admin, that problem seems to be solved by update, but, got the doubled validation pop-ups instead.
Form has ajax class.
I have this in Webloader:
- %appDir%/Assets/Naja.min.js
- %appDir%/Assets/netteForms.min.js
- %appDir%/Assets/front.js
And front.js contents little to nothing:
It worked with Naja 1.8.3 this way:
Beta Was this translation helpful? Give feedback.
All reactions