View Full Version : Validation of dynamically added fields in tabpanel

10 May 2014, 4:35 AM
I got problem with validation of on the fly added fields to tabs - probably because fields in inactive tabs are not rendered yet.

My use case is, that after click on button I want to add textfields to few tabs in form. But after click on submit button, validation is performed only on textfields of active tab or tabs I have visited after adding of new fields.

I set deferredRender property to false, after adding new fields I call doLayout() of parent component, but this doesn't work with on the fly added fields.

Thanks for any advise.

11 May 2014, 12:05 AM
The best would be if you could prepare a simple showcase at http://fiddle.sencha.com, I can think about several causes of this behavior but I don't want to mislead you by guessing.