using select2 plugin with editor.
when the field is over 5,say 6,
and let editor validation fail by input nothing,
then the select2's search box can't be inputed.
I think it maybe the z-index issue, but can't resolve it.
I had to add {id: '', text: ''}, to the options list to be able to get the field into the error state (otherwise Select2 wouldn't let me have no item selected), but once I'd done that and attempt to submit the form, with the error message showing for that field, I had no problem clicking the input and being able to then input something else.
Are there any errors shown in the console? I presume you can see the search box before the error? If so, that would suggest that it isn't a z-index issue.
Thanks for your testing.
I figured it out why the problem can't be reproduced.
I am always using firefox to test the app, and the problem appeared.
when I use chrome or ie, everything is ok.
and the demo has slight differt problem between my real app,
it need not to cause validation error, select2 can't be inputed at all.
and the app's problem is, when fields other than select2 has validation error,
select2 can't be inputed.
but I think it maybe the same issue.
Answers
Are you able to link to the page showing the issue so I can debug it problem please.
Thanks,
Allan
i don't have online version, but the simple sample is like below.
if you delete the name5, select2 works fine.
I had to add
{id: '', text: ''},
to the options list to be able to get the field into the error state (otherwise Select2 wouldn't let me have no item selected), but once I'd done that and attempt to submit the form, with the error message showing for that field, I had no problem clicking the input and being able to then input something else.Are there any errors shown in the console? I presume you can see the search box before the error? If so, that would suggest that it isn't a z-index issue.
Allan
Thanks for your testing.
I figured it out why the problem can't be reproduced.
I am always using firefox to test the app, and the problem appeared.
when I use chrome or ie, everything is ok.
and the demo has slight differt problem between my real app,
it need not to cause validation error, select2 can't be inputed at all.
and the app's problem is, when fields other than select2 has validation error,
select2 can't be inputed.
but I think it maybe the same issue.