admin-theme icon indicating copy to clipboard operation
admin-theme copied to clipboard

Invalid p:inputNumber widget behavior if Material activated

Open gestern opened this issue 6 years ago • 0 comments

Issue Overview

The widget <p:inputNumber ...> will be displayed incorrectly (ignores leading label) on the page if look for inputs is activated as material. Might the issue is due to the fact that the style is not applied to the class ui-inputnumber but I'm not sure:

https://github.com/adminfaces/admin-theme/blob/1a5204b9407287d3af242c253f59e470b4fed191/src/main/resources/less/primefaces-admin/components/material.less#L27

Current Behaviour
image
Expected Behaviour
image
How to reproduce

A sample xhtml code from PrimeFaces showcases:

<div class="ui-material">
      <p:inputNumber id="dailyEvery" value="1"
                                  minValue="0" maxValue="90" decimalPlaces="0"
                                  symbol=" day(s)" symbolPosition="s"/>
      <p:outputLabel for="dailyEvery" value="Every:"/>
</div>

gestern avatar Oct 26 '19 16:10 gestern