Could md-inputfield be ported back to Ultima in the future version ?

Post Reply
paulyip
Posts: 5
Joined: 12 Apr 2017, 07:53

04 Nov 2020, 20:03

My project's layout is depending heavily on md-inputfield but it is removed from Ultima 10. A boxed input field will break the design and feel of the UI.

Is there any plan to port md-inputfield back to Ultima in the future version. Otherwise, we will get stuck at Ultima 9 or have to consider developing a custom component using cdk.

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

09 Nov 2020, 11:09

Hi,

Firstly, With PrimeNg 10 version, we switched to PrimeOne Vision concept. In this way, our themes have a more flexible structure.
For float label, please see our demo;
https://primefaces.org/primeng/showcase/#/floatlabel

You can use p-float-label class for it.

Best Regards,

paulyip
Posts: 5
Joined: 12 Apr 2017, 07:53

17 Nov 2020, 18:08

In the past, the field has only an animated underline and not boxed.

https://github.com/primefaces/primeng/issues/9492

Could primefaces kindly provide a compatible css style sheet.

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

18 Nov 2020, 08:44

Hi,

Unfortunately, this is not possible. But, firstly you can use p-input-filled class in div.layout-container element and then you can switch md-inputfield with p-float-label like in the above link.

Note: We always try to update our layouts according to the changes made by Material design. Material input elements have two modes; filled and outlined like https://material.io/components/text-fields

Best Regards,

paulyip
Posts: 5
Joined: 12 Apr 2017, 07:53

19 Nov 2020, 19:04

Thank you very much for the direction.

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

20 Nov 2020, 08:02

You're welcome!

Best Regards,

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest