Page 1 of 1

Input label position issue

Posted: 18 Sep 2018, 13:31
by stfabian
Hello,

I just tried the latest version for PrimeReact 2 and i see an issue with the input label position.
The label does not stay in the top position after i am entering some text and the input loses focus.
Happens in Chrome, Firefox, Edge and Safari.

I also see this behaviour on the official page:
https://www.primefaces.org/ultima-react/#/forms

Image

Re: Input label position issue

Posted: 18 Sep 2018, 16:37
by cagatay.civici
Yes, it fails on demo, we'll update the demo later today to fix it. It happens because the demo inputs has no prop value, in your application if your inputs have a value prop and onChange to use as controlled component, issue will not appear. We'll be updating the demos as well.

Re: Input label position issue

Posted: 18 Sep 2018, 18:42
by cagatay.civici
We have realized an issue regarding this, an update will be released and I will give an update in a couple of hours.

Re: Input label position issue

Posted: 18 Sep 2018, 22:15
by cagatay.civici
PrimeReact 2.0.0-beta.7 is now available with the fix for;

https://github.com/primefaces/primereact/issues/572

In addition, Ultima 2.0.0-beta.2 is now available with compatibility with PrimeReact 2.0.0-beta.7 and other maintenance improvements. Migration from Ultima 2.0.0-beta.1 requires an update of theme css files.

Re: Input label position issue

Posted: 19 Sep 2018, 10:48
by stfabian
Works with the latest versions.
Thank You!

Re: Input label position issue

Posted: 27 Sep 2018, 10:27
by aragorn
Glad to hear, thanks a lot for the update!