Label on outputtext

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
kimg
Posts: 61
Joined: 22 Aug 2013, 17:13

17 Nov 2018, 16:01

I have the following situation:

Code: Select all

<div class="ui-g-12">
           <h:panelGroup styleClass="md-inputfield">
                   <h:outputText value="#{paperSubmissionController.conferenceTitle}" />
                   <label>Present submission in</label>
            </h:panelGroup>
</div>
Problem is that the label does not float over the outputtext value. I think it has to do with the 'md-inputwrapper-filled' style. But i cannot make it work.
It's placed on a form with some other inputtext fields and it works as expected for them. But I'd like to have a certain degree of consistency and it would look wrong with a normal label to the right of the field.

How do i make it do that?

Kim
Primefaces 6.2 / Glassfish 5 / Payara 5.182

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

19 Nov 2018, 09:01

h:outputText render a "span" element. I don't find a label animation for span tag on material design. Label animations are for input element.

Best Regards,

Post Reply

Return to “Serenity - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests