Results 1 to 2 of 2

Thread: Ext.getCmp('ID').getValue() or rawValue in IE8 and IE9 with Extjs 4.1

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1

    Default Ext.getCmp('ID').getValue() or rawValue in IE8 and IE9 with Extjs 4.1

    HI Guys,

    This issue is related to combobox in IE8 and IE9
    Ext.getCmp('ID').getValue() or rawValue picks the emptyText value from the combobox if the field is null.

    I have 2 combobox which depends on each other. on change of combobox1 i need to check the value present in combobox2 and load store for combobox2 . on doing so in Internet Explorer with Ext.getCmp('ID').getValue() or rawValue. It picks the emptyText property value.

    I am expecting either null or "" rawValue of the field if its not selected.

    This behavior is seen only in IE8 and IE9 browser, works good in chrome and firefox.

    Thanks
    Punith

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    Where possible, we use the html5 placeholder attribute, however it's not supported by some older browsers. As such, when you get the rawValue it may include the emptyText.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •