colinsmith1
31 Aug 2012, 12:16 PM
Architect Build tested:
Build: 588
Project Type:
ExtJS 4.1 in Sencha Architect 2.1
Description:
Architect formats anything typed into the maxValue or minValue property of a Date Field as a string, making it impossible to set min and max value as dynamic properties (ie you can't use Javascript's Date() method because Architect formats it as __ maxValue: 'new Date()', __).
Steps to reproduce the problem:
Add a Date Field
Choose object from the [Date/Object] menu in the property column of either min or maxValue
Type new Date() in the code editor
view results -- no min or max value rules are enforced
The result that was expected:
By setting the value to new Date() I wanted a rule enforced that a start or end date of TODAY would apply to my datepicker
The result that occurs instead:
Nothing changes; it's as if I hadn't entered anything into the min or maxValue fields
HELPFUL INFORMATION
Screenshot:
attached
Operating System:
OSX/Win7
Build: 588
Project Type:
ExtJS 4.1 in Sencha Architect 2.1
Description:
Architect formats anything typed into the maxValue or minValue property of a Date Field as a string, making it impossible to set min and max value as dynamic properties (ie you can't use Javascript's Date() method because Architect formats it as __ maxValue: 'new Date()', __).
Steps to reproduce the problem:
Add a Date Field
Choose object from the [Date/Object] menu in the property column of either min or maxValue
Type new Date() in the code editor
view results -- no min or max value rules are enforced
The result that was expected:
By setting the value to new Date() I wanted a rule enforced that a start or end date of TODAY would apply to my datepicker
The result that occurs instead:
Nothing changes; it's as if I hadn't entered anything into the min or maxValue fields
HELPFUL INFORMATION
Screenshot:
attached
Operating System:
OSX/Win7