shadcn/ui component to display formState error
With shadcn/ui
, the FormMessage
is used to display validation error in form field. Is there a component to display the error from form.formState.errors
?
Shadcn Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}
I’m getting the following warning in my JavaScript console every time I open my Sheet component.
Shadcn `DialogContent` requires a `DialogTitle` for the component to be accessible for screen reader users
I’m getting the following error in my JavaScript console
While installing shadcn…i gave wrong directory. Instead of globals.css, I gave globals/css.How to run it correctly again.I am getting a error
PS C:UserskrithOneDriveDesktopColbook> npx shadcn-ui@latest init
how to remove the “border” around the shadcn select when the cursor is inside
I have a select which I only want a dropdown arrow and a line beneath. I manage to remove the top/left/right borders. Even when I dropdown the select, there is no border. However, when the dropdown is close and the cursor is in the text, a black border shows up.
how to hide the X at the top of the shadcn dialog box?
The shadcn/ui dialog box by default as a X at the top right hand corner. My design does not have the X. How to hide the X while retaining the esc to close functionality ?