Bug #4796
closedWTemplateFormView rerender visual bug
0%
Description
When using WBootstrapTheme (I tried with V3), the validation style classes, that are added by BootstrapValidate.js, are removed from fields that have any WValidator attached to them when the WTemplateFormView rerenders when it is reparented or for functions like setCondition(), setVisible() and bindString().
I tried calling updateView(), however it doesn't add the styles again because rendering is done after the event handling finishes?
The fields without validation indication are the fields with WValidators
Files
Updated by Saif Rehman almost 9 years ago
Rerendering also removes the default validation indications (ex: error class for empty field with WValidator(mandatory=true))
Updated by Koen Deforche almost 9 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
- Target version set to 3.3.6
We indeed need to involve the plugin (from WTemplate) to make sure that markup doesn't get lost while rerendering a WTemplate.
Updated by Koen Deforche over 8 years ago
- Status changed from InProgress to Implemented @Emweb
Updated by Koen Deforche over 8 years ago
- Status changed from Implemented @Emweb to Closed