Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8818 in 4.2.0.663.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2007
    Posts
    295
    Vote Rating
    8
    jheid will become famous soon enough

      0  

    Default [4.2 RC] Bug with password field as a grid editor

    [4.2 RC] Bug with password field as a grid editor


    If you change

    { text: 'Company', flex: 1, dataIndex: 'company', editor: 'textfield' },

    to

    { text: 'Company', flex: 1, dataIndex: 'company', editor: { xtype: 'textfield', inputType: 'password' } },

    in examples/neptune-components/app/view/grid/widget/Basic.js

    you will get

    Uncaught TypeError: Cannot read property 'style' of null ext-all.js:18

    The error occurs in this line:

    ip = Ext.Element.parseBox((Ext.util.CSS.getRule('.' + Ext.baseCSSPrefix + 'grid-row-editor .' + Ext.baseCSSPrefix + 'form-' + field.inputType) || Ext.util.CSS.getRule('.' + Ext.baseCSSPrefix + 'form-' + field.inputType)).style.padding);

    So, there are missing CSS styles. It breaks functionality in all themes.

    Quite a showstopper I guess.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,525
    Vote Rating
    872
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What browser and OS are you using? Just tested the example with Chrome 25 on OSX and it worked without an error.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Apr 2007
    Posts
    295
    Vote Rating
    8
    jheid will become famous soon enough

      0  

    Default


    Did you choose the Neptune theme?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,525
    Vote Rating
    872
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Quote Originally Posted by jheid View Post
    Did you choose the Neptune theme?
    I see it now, you didn't state that step.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Ext JS Premium Member
    Join Date
    Apr 2007
    Posts
    295
    Vote Rating
    8
    jheid will become famous soon enough

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    I see it now, you didn't state that step.
    Yes, my fault. Sorry.

Thread Participants: 1