"Form Submission Failed" on /query on Chrome when adding filters
|Reported by:||Owned by:|
I got this error when trying to search for tickets on the Django Trac at https://code.djangoproject.com/query just now using the latest version of Chrome, 73. It also happens on Trac Trac ( https://trac.edgewall.org/query ).
After adding a filter, the form refuses to submit. Checking in the dev console I see the error message:
"Form submission failed, as the <SELECT> element named '0_description_mode' was implicitly closed by reaching the end of the file. Please add an explicit end tag ('</SELECT>')."
I checked and this does not happen in Firefox, my guess it's some new behaviour in Chrome.
I hacked around in the Chrome dev tools and found that modifying query.js to create the element with an extra '</select>' in its HTML, this stops occurring.