11 Dec 2012 2:27 PM #1
Missing matcher config for Model Validations
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
Screen Shot 2012-12-11 at 8.20.41 PM.pngScreen Shot 2012-12-11 at 8.20.28 PM.png
26 May 2013 10:10 PM #2
Use the matcher as an object
You can try to use the matcher as an object and put the value of the object between slashs ("/"), for example:
In my case this results in:
message: 'Format error',
I hope this can help you.