primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.18k stars 4.54k forks source link

p-fileUpload: chooseStyleClass #15961

Open kashcode opened 2 months ago

kashcode commented 2 months ago

Describe the bug

style applied on the file-upload component, but it never gets to the button itself. image and button: image

Environment

Win 10

Reproducer

No response

Angular version

17.3.5

PrimeNG version

17.14.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.13.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

Upload component choose button should be outlined: image

kheruvimovv commented 3 weeks ago

In basic mode add your styles to styleClass. There is no chooseStyleClass in basic mode, it's only for advanced mode. <p-fileUpload ... mode="basic" styleClass="p-button-outlined">