ICEmobile
  1. ICEmobile
  2. MOBI-1121

InputText: dynamic changes to type=number step property are not being applied on ajax updates

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: EE 1.3.1.GA_P01
    • Fix Version/s: EE 1.3.1.GA_P03
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a

      Description

      It seems that the step attribute of the mobi:inputText has to rendered from a full page refresh as changes to the step attribute are not being applied to the DOM from a DOM update.

      <?xml version='1.0' encoding='UTF-8'?>
      <partial-response><changes><update id="inputPage:inputForm:numberInput"><![CDATA[<input autocapitalize="off" autocorrect="off" class="mobi-input-text ui-input-text " id="inputPage:inputForm:numberInput" name="inputPage:inputForm:numberInput" placeholder="Number input" step="1.2" style="" type="number" value="9.6" />]]></update><update id="javax.faces.ViewState"><![CDATA[-8413699931142451045:-4093515930129722581]]></update><eval><![CDATA[var iceFormIdList=['inputPage:inputForm']; ice.fixViewStates(iceFormIdList,'-8413699931142451045:-4093515930129722581');]]></eval></changes></partial-response>

      DOM after update:

      <input autocapitalize="off" autocorrect="off" class="mobi-input-text ui-input-text " id="inputPage:inputForm:numberInput" name="inputPage:inputForm:numberInput" placeholder="Number input" step="0.8" style="" type="number" value="6.4">

        Activity

        Hide
        Ken Fyten added a comment -

        Avoided this issue by removing the dynamic nature of the demo.

        The solution to this problem lies in configuring the domDiff to perform attribute level updates, which are not reliable on older IE browsers.

        Show
        Ken Fyten added a comment - Avoided this issue by removing the dynamic nature of the demo. The solution to this problem lies in configuring the domDiff to perform attribute level updates, which are not reliable on older IE browsers.

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: