loiane
11 Dec 2012, 2:27 PM
Hi,
Sencha Architect is missing a config called matcher when you add a validation of type 'format' into a Model.
This config should have 'object' as a type.
The good thing is that there is a workaround (you can add the config by yourself) but this can lead into errors, specially if people that are getting started with the framework starts using the tool.
Attached are 2 screenshots.
Doc link: http://docs.sencha.com/touch/2-1/#!/api/Ext.data.Validations-method-format
40729 (http://docs.sencha.com/touch/2-1/#!/api/Ext.data.Validations-method-format)40730
Sencha Architect is missing a config called matcher when you add a validation of type 'format' into a Model.
This config should have 'object' as a type.
The good thing is that there is a workaround (you can add the config by yourself) but this can lead into errors, specially if people that are getting started with the framework starts using the tool.
Attached are 2 screenshots.
Doc link: http://docs.sencha.com/touch/2-1/#!/api/Ext.data.Validations-method-format
40729 (http://docs.sencha.com/touch/2-1/#!/api/Ext.data.Validations-method-format)40730