ICEmobile
  1. ICEmobile
  2. MOBI-931

FlipSwitch disabled attribute does not work

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE 1.3.0.GA_P01
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a

      Description

      The flipSwitch disabled attribute has no effect. Setting disabled="true" causes the component to render disabled="disabled' on the root anchor tag, which, of course, won't do anything:

      <a class="mobi-flipswitch mobi-flipswitch-on ui-btn-down-c" disabled="disabled" id="flipswitchPage:flipswitchForm:cap" name="flipswitchPage:flipswitchForm:cap" onclick="mobi.flipswitch.init('flipswitchPage:flipswitchForm:cap',{ event: event,elVal: this,singleSubmit: true}); return false; " style="float:right">
         <span class="mobi-flipswitch-txt-on">ON</span>
         <input id="flipswitchPage:flipswitchForm:cap_hidden" name="flipswitchPage:flipswitchForm:cap_hidden" type="hidden" value="true">
         <span class="mobi-flipswitch-txt-off ui-btn-up-c">OFF</span>
      </a>

        Activity

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: