primevue icon indicating copy to clipboard operation
primevue copied to clipboard

component size

Open Rhejie opened this issue 2 years ago • 2 comments

Describe the feature you would like to see added

all components should have a size from small to large

Is your feature request related to a problem?

No

Describe the solution you'd like

No response

Describe alternatives you have considered

No response

Additional context

No response

Rhejie avatar Sep 08 '23 14:09 Rhejie

100% agree. A size prop on all components is badly needed. So far the size prop has only been added to some components. This makes size matching impossible for a multi input form impossible.

DatePicker, Select, and MultiSelect are where I need it most but I'm sure there are others.

BenJackGill avatar Sep 25 '24 07:09 BenJackGill

Fully agree. The new features, like updates to float labels (although not without bugs) are nice and all, but main point of any framework should be consistency as much as possible. I'm going around it by simply increasing padding with scoped styling, but that should be a quick and much needed improvement

psuplat avatar Oct 07 '24 23:10 psuplat

Hello, any update about this ? I'm using the Multiselect component and the size prop does not work

JustineMiko avatar Nov 12 '24 08:11 JustineMiko

@JustineMiko apparently yes. The working example are on the official documentation. You probably need to update your packages to 4.2.1 (I think that's the lates version anyways)

psuplat avatar Nov 12 '24 09:11 psuplat

@JustineMiko apparently yes. The working example are on the official documentation. You probably need to update your packages to 4.2.1 (I think that's the lates version anyways)

That's not it, my package is up to date. I think it's because it's not working yet for Multiselect component as have said @BenJackGill . Or maybe there's something i'm missing on my nuxt3 config

JustineMiko avatar Nov 13 '24 09:11 JustineMiko

@JustineMiko I've never actually used nuxt, so can't help here. But I just did a copy&pasts of the code from the docs, into login component in one of my projects, and it worked perfectly fine, as advertised.

obraz

Have you tried switching it off and on again - meaning, delete the entire node_modules folder and running npm install again?

psuplat avatar Nov 13 '24 10:11 psuplat

@psuplat yes i did try that to but it doesn't change anything. Thank you for your advices and your time. If i find out how to fix my issue i'll leave a comment here for people using nuxt3

JustineMiko avatar Nov 13 '24 10:11 JustineMiko

@psuplat i had one dependency not up to date ! the primevue/theme one ! so it's properly working now. Thank you so much !

JustineMiko avatar Nov 13 '24 11:11 JustineMiko

You could check the latest version.

Thanks for the updates.

tugcekucukoglu avatar Nov 21 '24 12:11 tugcekucukoglu

@tugcekucukoglu it works absolutely fine with V4.2.2. Thanks a lot

JustineMiko avatar Nov 22 '24 07:11 JustineMiko