Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renderLabel not working #872

Closed
kgeis opened this issue Sep 25, 2017 · 4 comments
Closed

renderLabel not working #872

kgeis opened this issue Sep 25, 2017 · 4 comments

Comments

@kgeis
Copy link

kgeis commented Sep 25, 2017

I am using BootsFaces 1.1.3 with PrimeFaces 6.1. I am trying to create some forms, and on my fields (e.g. inputText, dateTimePicker) I am setting render-label="false" or renderLabel="false", and there is no effect.

@chongma
Copy link
Collaborator

chongma commented Oct 1, 2017

i am using bootsfaces 1.1.3 with primefaces 6.1 and i have just tested e.g. <b:inputText label="test" value="test" renderLabel="false"/> and it works fine. can you give me more information about the problem?

@kgeis
Copy link
Author

kgeis commented Oct 2, 2017

Thanks, @chongma. Perhaps there is a problem integrating with Spring Boot and JoinFaces.

I've forked an example application and changed the front page to demo the issue. To test it out,

@chongma
Copy link
Collaborator

chongma commented Mar 12, 2018

sorry i must have missed your message. i just ran your reproducer and can confirm that it doesn't hide the label

@stephanrauh
Copy link
Collaborator

That's AngularFaces interfering with your code. If you don't need it, remove it from the equation.

In theory, adding

jsf.angularfaces.add-labels=false

to the application.properties file should do the trick. Unfortunately, it didn't work when I tried. BTW, I didn't find out which file adds AngularFaces to the project. Even so, the HTML code of the index.xhtml clearly indicates that the offending label is generated by AngularFaces.

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

No branches or pull requests

4 participants