primereact icon indicating copy to clipboard operation
primereact copied to clipboard

FileUpload: className does not work with advanced mode

Open Fallup opened this issue 1 year ago • 0 comments

Describe the bug

className property of the FileUpload component is not delegated to the DOM if you use the default "advanced" mode. It works only with the mode="basic". See attached StackBlitz - the "test-class-name-basic" is in the DOM but the "test-class-name-advanced" is missing.

Reproducer

https://stackblitz.com/edit/246ree?file=src%2FApp.jsx

PrimeReact version

10.5.1

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Fallup avatar Mar 13 '24 14:03 Fallup