Skip to content

V2 - Invisible not working in development mode #332

Answered by cspollar
cpattersonit asked this question in Q&A
Discussion options

You must be logged in to vote

@minyor - It looks like you may be having the same problem I was having earlier. In my case, the promise was hiding the true error -form.submit is not a function.

My input's name caused the conflict - changing <input type="submit" name="submit" value="Submit"> to <input type="submit" name="submit_my_form" value="Submit"> resolved the error.

I'm using django-crispy-forms, so I just needed to change from Submit('submit', 'Submit') to Submit('submit_my_form', 'Submit').

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by thibaudcolas
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants
Converted from issue

This discussion was converted from issue #203 on November 24, 2023 07:07.