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
on clicking the select now, the drop-down opens and it never closes.
then when I looked on the web browser console, Found the below error.
Uncaught SyntaxError: Invalid regular expression: /(^|\.)select2\.(?:.*\.|)select2-(Second(\.|$)/: Unterminated group
at new RegExp (<anonymous>)
at Object.remove (jquery.js:5024)
at HTMLBodyElement.<anonymous> (jquery.js:5493)
at Function.each (jquery.js:368)
at jQuery.fn.init.each (jquery.js:157)
at jQuery.fn.init.off (jquery.js:5492)
at d._detachCloseHandler (select2.min.js:1)
at e.<anonymous> (select2.min.js:1)
at e.d.invoke (select2.min.js:1)
at e.d.trigger (select2.min.js:1)
I tried to eliminate the spaces. The results are normal.
<select name="(Second_level_with_spaced_words)" tabindex="-1" >
<option value="1000">Third level first entry</option>
<option value="2000">Third level second entry</option>
<option value="3000">Third level third entry</option>
</select>
NOTE: The issue occurs when the name value is having spaces and is enclosed in round brackets.
For Example: Refer to the fiddle
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
For example I created a form select using,
Then I initialization select()
on clicking the select now, the drop-down opens and it never closes.
then when I looked on the web browser console, Found the below error.
I tried to eliminate the spaces. The results are normal.
NOTE: The issue occurs when the name value is having spaces and is enclosed in round brackets.
For Example: Refer to the fiddle
The text was updated successfully, but these errors were encountered: