Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2
-
Fix Version/s: 4.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ace yui
-
Assignee Priority:P2
Description
the current checkboxButton and checkboxButtons are rendering yui-button and
yui-checkboxbutton-button styleclasses on the enclosing span. Although I do not see any definition for yui-checkboxbutton-button applied, when you remove the definition for yui-button, it affects the position (and this really looks poor in checkboxButtons examples).
{code}
<span class="yui-button yui-checkboxbutton-button ui-button ui-widget"><span aria-disabled="false" class="first-child" role="checkbox"><button class="ui-corner-all ui-widget-content ice-checkboxbutton-checked" id="form:checkboxButtons:0_button" name="form:checkboxButtons:0_button" onfocus="ice.ace.evalInit(this);" tabindex="0" type="button"><span class="fa fa-check-square-o fa-lg"></span></button></span></span>
{code}
yui-checkboxbutton-button styleclasses on the enclosing span. Although I do not see any definition for yui-checkboxbutton-button applied, when you remove the definition for yui-button, it affects the position (and this really looks poor in checkboxButtons examples).
{code}
<span class="yui-button yui-checkboxbutton-button ui-button ui-widget"><span aria-disabled="false" class="first-child" role="checkbox"><button class="ui-corner-all ui-widget-content ice-checkboxbutton-checked" id="form:checkboxButtons:0_button" name="form:checkboxButtons:0_button" onfocus="ice.ace.evalInit(this);" tabindex="0" type="button"><span class="fa fa-check-square-o fa-lg"></span></button></span></span>
{code}
note that neither in CheckboxButtonMeta or CheckboxButtonsMeta classes, the dependency for the yui classes are not defined. So in showcase app, since ace:tabSet is already present, the class will be present, but without this (non-showcase apps), the class will not be present. (perhaps QA can confirm in the checkboxButtons QA test?).