power-media / prado3

Automatically exported from code.google.com/p/prado3
Other
0 stars 0 forks source link

TActiveCustomValidator Display Dynamic error or Double Update Value #394

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new project, use TActiveControls
2. Insert a CustomValidator, set Display to Dynamic
3. Validate and watch the Error Msg Display and hide

What is the expected output? What do you see instead?
The dynamic value, or the Error Msg should remain on the page, short after the 
validation it renders the error but it gets hidden after the value is showed

What version of the product are you using? On what operating system?
prado-3.2-rc2.r3124

Please provide any additional information below.
To Discard any problems with layout or use of other javascript libs I created a 
new project and builded the test environment, same error every time. Here is 
what the console logs:

Actions : 
{"Prado.Validation.updateActiveCustomValidator":["ctl1", true]}
{"Prado.Validation.updateActiveCustomValidator":["ctl1", false]}

Why is this setting the value first to true and right away changing it to 
false, hidding the error msg?.

Original issue reported on code.google.com by ama...@ingeniomasivo.com.ve on 5 Apr 2012 at 10:08

Attachments:

GoogleCodeExporter commented 8 years ago
fixed in r3135

Original comment by ctrlal...@gmail.com on 14 Apr 2012 at 3:18