留言板
aui:select option problem
HI team,
The above code select options is working onclick popup with multiple option but other option items are disabling....
I inspect in firefox issue it's dynamically calling disabled=" " for selected.
how to avoid disabled=" ".
Thanks
<aui:select name="bdType" label="" cssclass="selLarge" onchange="${namespace}showUnit()">
<aui:option value="">
<liferay-ui:message key="select" />
</aui:option>
<c:foreach var="i" begin="0" end="${test}">
<aui:option value="${test}" selected="${test eq pres || test eq ght || test eq cose || test eq flow || test eq pulse || test eq temp }">
<liferay-ui:message key="Add a ${test} reading" />
</aui:option>
</c:foreach>
</aui:select>
The above code select options is working onclick popup with multiple option but other option items are disabling....
I inspect in firefox issue it's dynamically calling disabled=" " for selected.
how to avoid disabled=" ".
Thanks
I am not able to understand your problem clearly, in your code it is "onchange" and iin your description you are saying "onclick", also the code in "showUnit()" javascript method will help debug what is happening.
I didn't understand which options are getting disabled and which are enabled -- may be a little more explanation or a screenshot explaining it would help.
Thanks
I didn't understand which options are getting disabled and which are enabled -- may be a little more explanation or a screenshot explaining it would help.
Thanks