Loading...
Loading...
Error
Oops! Something went wrong
7. Forms and Form Validation with Shadcn Vue
Speed
Speed
Quality
Quality
Captions
Captions
media loading
Play
Pause
10
Seek backward
Rewind 10s
Play
Pause
Play
Play
Pause
Pause
20
Seek forward
Forward 20s
Mute
Unmute
Volume High
Volume Low
Volume Low
Mute
Mute
Unmute
0:00
0:00
Start casting
Stop casting
Chapters
Chapters
Introduction to Robust Form Validation
00:00
Initial Form Setup and HTML Validation Limitations
00:15
Improving Forms with ShadCNView Documentation
00:43
Creating a Zod Schema for Validation
01:11
Installing v-validate-zod and Zod-core
01:39
Updating Schema for Email and Password Fields
02:08
Defining the Form with useForm Composable
02:26
Building the Form with ShadCN Components
03:07
Adjusting Email Field with ShadCN Components
03:48
Anatomy of a ShadCN Form Field
04:37
Applying ShadCN Components to Password Field
05:17
Implementing the Form Submit Handler
06:16
Testing Validation and Initial Error Display
07:05
Adding Form Message Component for Error Details
07:22
Real-time Validation Feedback
07:58
Customizing Validation Messages
08:21
Conclusion: Beautiful and Validated Forms
08:56
Enable captions
Disable captions
Enable Captions
Enable captions
Disable Captions
Disable captions
Settings
Settings
Settings
Enter fullscreen mode
Exit fullscreen mode
Fullscreen
Enter fullscreen
Exit Fullscreen
Exit fullscreen