PDA

View Full Version : [FIXED] Few form bugs in isvalid and multifield



gslender
3 Aug 2008, 11:00 PM
see this post...
http://extjs.com/forum/showthread.php?p=203673

darrellmeyer
5 Aug 2008, 9:27 AM
Fix is in SVN.

gslender
5 Aug 2008, 4:36 PM
Darrell,

It seems you have removed the entire code from MultiField that does any kind of validation of the child-fields. Perhaps I'm confusing the logic, but didn't you still need to iterate over each field and ensure they are valid when calling panel isValid...

Perhaps I'm mistaken regarding how the multi-field children get onto the formpanel's isValid?? :-?

gslender
5 Aug 2008, 4:38 PM
ignore my post... found where you override isValid and iterate over the fields... all good :D

darrellmeyer
5 Aug 2008, 4:38 PM
Try taking a look at MultiField isValid.