Skip to content

Invalid p:inputNumber widget behavior if Material activated #242

Description

@gestern
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:

input.ui-inputfield, textarea.ui-inputtextarea, input.ui-autocomplete-input, span.ui-calendar > input.ui-inputfield {

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions