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
370
white space issue with igx-simple-combo
posted

Please refer to this

https://stackblitz.com/edit/angular-dgbhg2

In igx-simple-combo when white space added in displayText at the end of a string or start of a string

  

after that selection is not working. example link attached

Parents
No Data
Reply
  • 1320
    Offline posted

    Hello Shahab,

    After investigating this further, my suggestion is to log this behavior in our GitHub repository here. This will give you the opportunity do directly communicate with our development team regarding the issue and get notifications whenever a new information is available.

    When creating your issue be sure to be specific and provide as much details as possible. Attaching a working sample, screenshots and any information that consider relevant are going to be very helpful.

    Additionally, what I could suggest as a workaround is to select the selected item in a method bound to the blur event of the combo input. This could be achieved as follows:

        fromEvent(this.simpleCombo.comboInput.nativeElement, 'blur').subscribe( () => {

            this.simpleCombo.select(this.simpleCombo.filteredData[0].id);

          } );

    I have prepared a sample demonstrating this suggestion. Please test it on your side and let me know if you need any further information regarding this matter.

    Regards,
    Monika Kirkova,
    Infragistics

Children