Filled state for Input text component

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
julien.jardin
Posts: 3
Joined: 06 Jun 2023, 17:56

17 Jul 2023, 20:18

Hello,

Where can i find the API for this filled state ? It seems that there is no API on the website.

User avatar
w00f
Posts: 307
Joined: 27 Apr 2016, 13:27
Contact:

18 Jul 2023, 10:20

Hi,

Are you asking for use while implementing? If so, which library are you using, NG or Vue, React or JSF?

Best,

julien.jardin
Posts: 3
Joined: 06 Jun 2023, 17:56

18 Jul 2023, 15:10

Hi,

I'm using PrimeVue UI kit for figma.

In the figma kit there is the input text component and in this component there is a filled state which turn the field into a dark gray color but it's not a disabled text. And on your website there is no API for that state. https://primevue.org/inputtext/

Can you help me with that ?

Thank you,

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

19 Jul 2023, 11:38

Hi,

As far as I understand, you need information on whether InputText is filled or not during the Development phase. If so, you can use PrimeVue's pass through feature. Please see;
https://primevue.org/inputtext/#api.inp ... ext.filled

Code: Select all

<InputText :pt={
     root: ({ context }) => {
           class: [{ 'my-filled-class': context.filled }]
     }
} />
Best Regards,

Post Reply

Return to “Figma”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests