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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44686 Wed May 13 14:10:18 MDT 2015 judy.guglielmin MOBI-1121 modify example to use static value of 1 for step and support for it as float so it's part of the page update. none of the input attributes are updating dynamically using ajax currently.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/input/input/InputBean.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/input/input-example.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44688 Wed May 13 15:22:53 MDT 2015 judy.guglielmin MOBI-1121 modify example to not dynamically change any input attributes
        Files Changed
        Commit graph MODIFY /icemobile/tags/icemobile-1.3.1_P03/icemobile/samples/jsf/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/input/input/InputBean.java
        Commit graph MODIFY /icemobile/tags/icemobile-1.3.1_P03/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/input/input-example.xhtml

          People

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

            Dates

            • Created:
              Updated:
              Resolved: