Hi,
igCombo in editable mode option does not take any action when back space is pressed.
In a similar manner how we can restrict the user from selecting the text and deleting it. We are using 2013.2 version
Thanks,
Kiran Kumar L
Hello Kiran,
I believe that you need to set the mode of the control to 'readonly' or 'readonlylist', depending on your scenario.
You could take a look at this option here:
http://help.infragistics.com/jQuery/2014.1/ui.igcombo#options:mode.
Please feel free to let me know if a question about our tool set comes up on your mind.
Hi Boris,
We need functionality to search as in "editable" mode and make selections from dropdown but should not be able to select the text in combo's input box and press delete.
Please let me know a generic way to achieve this.
Kiran
Hi Kiran,
I will try to think of some way to do this, thank you for the feedback.
I am not sure if I got your requirements right but you can certainly hook to the keydown event and check if the delete key is pressed and stop the action, like this:
keydown: function (evt, ui) { if (ui.keyCode == 46) { debugger; return false; }}
http://jsfiddle.net/kf3yhr3p/
Thank you for your reply. Glad that the issue has been resolved.
Please feel free to contact us if you need any additional information regarding this matter.
Thanks for the above code snippet, this meets our requirements of not allowing user to delete the text from combo text box