xf:alert for xf:select1 does not show it's content

Project:formsPlayer
Version:1.5.4
Component:Code
Category:bug
Priority:normal
Assigned:Unassigned
Status:closed
Attachment:select1-alert.html.txt (5.38 KB)
Description

When a xf:select1 control with an xf:alert child element has an xf:bind @constriant that makes it invalid, the contents of the xf:alert should show to the user.

In the attached form the xf:select1 controls are invalid by default (as is the xf:input) but you do not get to see the contents of their xf:alert children. You can see that the alert itself is partially styled though (the red border). The xf:input's alert show as it, and the select1's, should.

Note also that, once the select1 is made valid by selecting a value that isn't empty the dropdown list 'jumps' to the right of the label of the control. Making the control invalid again, by selecting the empty value, moves the dropdown list back underneat the the control label.

Updates

#1 submitted by Paul Butcher on Wed, 2007-08-22 10:14
Status:new» applied
#2 submitted by fcosta on Wed, 2007-08-22 22:22
Status:applied» new
Attachment:select1-alert_v2.txt (2.93 KB)

Hi,

I modified a little bit the file attached by alexsansom, and the problems with the xf:alert continues. Please, view attached sample. Regards.

#3 submitted by Paul Butcher on Fri, 2007-08-31 15:29
Status:new» closed

The modified file demonstrates a different issue. alert does not show for invalid controls inside valid groups or repeats