Progress not working
Hey, I am using the Progress component from shadcn/ui and setting a max value, but the progress bar doesn't care. it still stays on a 100 point scale. I've tried rendering on both server and client, and tried hard coding the component. still doesn't work. Anyone else have this problem?
1 Reply
The progress bar for somereason doesnt take a max val even though the types are defined for it if you go to where the progress.tsx is most likely components/ui/progress.tsx you can make a slight change that worked for me.
this is the main part of the code I only changed max being passed through with className, value... and in the style I added (max || 100)