Project

General

Profile

Actions

Bug #4796

closed

WTemplateFormView rerender visual bug

Added by Saif Rehman over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/08/2016
Due date:
% Done:

0%

Estimated time:

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

Capture.JPG (64.1 KB) Capture.JPG Saif Rehman, 03/08/2016 07:03 AM
Actions #1

Updated by Saif Rehman over 8 years ago

Rerendering also removes the default validation indications (ex: error class for empty field with WValidator(mandatory=true))

Actions #2

Updated by Koen Deforche over 8 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.

Actions #3

Updated by Koen Deforche over 8 years ago

  • Status changed from InProgress to Implemented @Emweb
Actions #4

Updated by Koen Deforche over 8 years ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF