PDA

View Full Version : [FIXED] Ext.data.Field mapping doesnt accept "dots"



quixit
9 Aug 2010, 5:48 AM
Build Version: xds-1.0.2.11
OS: Linux 32bit

Problem:
I have added a Store and a Field.
Now I want to change the Ext.data.Field option "mapping" in the Component Config to an path expression like "foo.bar".
On Leaving the Input Field my value "foo.bar" is trimmed to "foo".

I think it should be possible to enter a complete path expression, not only simple strings as a mapping value.

Thanks
Thomas

jarrednicholls
9 Aug 2010, 6:21 AM
Thanks Thomas, only "name" is suppose to prevent periods. I will have this fixed for the next release.

You can (in the meantime) use the bracket syntax for the mapping:



[foo][bar]

quixit
9 Aug 2010, 8:42 AM
I have to thank you ;)