-
31 May 2010 3:27 AM #1
[FIXED-25] Model boolean fields don't have a default value (0.82)
[FIXED-25] Model boolean fields don't have a default value (0.82)
They are always undefined, which means when they are used in Ext.Templates, an error is produced: "xxx is not defined".
-
3 Jun 2010 4:52 AM #2
This actually applies to all types of fields.
-
3 Jun 2010 8:13 AM #3Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,659
- Vote Rating
- 14
Awesome feedback on the bugs rdougan, if you can do me one small favor and put in the version you are using that would be great. That way if other people have the same problem they know when it was noted and fixed.
-
3 Jun 2010 8:36 AM #4
No problem, sorry about that.
-
3 Jun 2010 11:28 AM #5Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
I'll be adding default value capability to all field types shortly
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
8 Jun 2010 3:29 PM #6Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
This has now been added, see Model docs for details
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
8 Jun 2010 9:08 PM #7
Just out of curiosity when you define a model field will you be able to set the default or does it just make one up based on the field's type? I would go and look for myself but as you just commented about this Ed I don't think that version is released as of yet.
-
8 Jun 2010 11:06 PM #8Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-94] Loading text as boolean.
By filippo.ferrari in forum Ext Designer: BugsReplies: 1Last Post: 7 Apr 2010, 6:01 PM -
[FIXED-10] Cleared 'title' fields are re-filled with default value after loading
By ExtKD in forum Ext Designer: BugsReplies: 3Last Post: 4 Apr 2010, 4:01 PM -
[FIXED-7] Panels don't show default border selection
By teknofire in forum Ext Designer: BugsReplies: 1Last Post: 30 Mar 2010, 5:35 PM -
Boolean Fields Not Working in Inline Editor Grid
By kyahne in forum Ext 1.x: BugsReplies: 2Last Post: 5 Dec 2006, 1:26 AM


Reply With Quote
