-
20 Feb 2013 3:13 AM #1
[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.
-
22 Feb 2013 9:12 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
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
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
25 Feb 2013 7:33 AM #3
Did you choose the Neptune theme?
-
25 Feb 2013 7:44 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
25 Feb 2013 8:15 AM #5
You found a bug! We've classified it as
EXTJSIV-8818
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote