i am using the component simpleTogglePanel.
I put an input inside. The value of inputText must be require only if the simpleTogglePanel is collapsed.
I have tried to put the attribute "opened" to false, but when I expand the simpleTogglePanel and after I collapse it, the jsf validation telles that the input value is required.
Can anyone have an idea ?
Could you post the code snippet, please. Try to add ajaxSingle="true" to avoid correlation with other inputs of the same form.