ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Multiselect combo - returns empty item with x when selected from the dropdown
Title:
B
I
{code}
?
As an answer to the question in https://www.aspnetawesome.com/forum/question/62130/ajaxcheckboxlist-with-adding-new-values-in-textbox-directly , the following demo link is provided. https://demo.aspnetawesome.com/AjaxCheckboxListDemo#Multiselect-Combo However, if I input a value not in the select and do a select from the dropdown instead of clicking Enter, a blank item with x is displayed. <div class="o-mlti awe-il awe-btn" data-val="__combo:"> <span class="o-mltcptn"></span> <span class="o-mltrem">×</span> </div> Can you please let me know how I can resolve this? Thanks in advance.
Save Changes
Cancel
Ren
asked at 02 May 2022
seems to be a problem with the multiselect combo, a quick fix will be to call this `.Multiselect(o => o.Combo(showComboItem: false))` you'll be able to select combo values by hitting `enter`
at 02 May 2022
Omu
you could also fix it by editing `awem.js`, find `var cmbival = comboPref + srctxt.val();` and replace with `var cmbival = clickedItem.data('val');` , now you'll be able to click on the combo item
at 02 May 2022
Omu
Works good now. Thanks for your response.
at 02 May 2022
Ren
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK