Two items requested as related to floating labels and fw7.
-
Add tick box for floating labels on inputs.
-
When an input value is received from another element, set the appropriate classes on the input and parent so the label floats…as it is today, the value is not recognized if put in programatically.
For example given this standard fw7 input. Let’s say its value comes from a data store element. The data store element’s value is added via the success of another action, and therefore the input now has a value (and does display correctly already.)
<li>
<div class="item-content item-input">
<div class="item-inner">
<div class="item-title item-label">Name</div>
<div class="item-input-wrap">
<input type="text" name="name">
</div>
</div>
</div>
</li>
However, the class item-with-input-value should be added to the outer div, and input-with-value should be added to the input.