Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
igCombo input element " input type="text'" " text has extra quote.
posted

Hi 

I am using igCombo to create my combo boxes, I found one issue where the rendered Html input element, type attribute value is set to "text'" (has some extra quote) which is causing some issue to set the focus. please provide me the solution for this.

("<input type="text'" class="ui-igcombo-field ui-corner-all" autocomplete="off" placeholder=" ">")

Thanks & Regards

Nagaraju P

igComboAutoFocusIssue.zip
  • 7535
    Offline posted

    Hello Nagaraju,

    Apostrophe in the type attribute (type="text’") of igCombo in 16.2 was found as a development issue and has already been fixed internally. The fix will be included in the next service release.  I have linked this case to Development Issue 230765 so that you will be notified when the service release is available. 

    You can see the service release schedule here:

    http://es.infragistics.com/support/service-releases

    As a workaround you can Dom traverse the element and replace the type attribute with the ‘text' when combo rendered by using rendered event of the combo. Your code would be like as:
     
     rendered: function(evt, ui) {
     var x = $(ui.element).find("input.ui-igcombo-field").attr("type").replace("text'","text");
    $(ui.element).find("input.ui-igcombo-field").attr("type",x)}
     
    }

    Please let me know if you have any questions.