feat: add uncontrolled mode to FormError#168
Conversation
|
|
WalkthroughThe changes add uncontrolled mode support to the FormError component, enabling it to display manual error messages via a Changes
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
|
📝 Storybook Preview: View Storybook This preview will be updated automatically when you push new changes to this PR.
|
…ontrolled-form-error
Summary
messageprop toFormErrorandFormErrorFieldto support uncontrolled mode.FormErrornow defaultsnameto_formonly whenmessageis not provided.Uncontrolledstories to demonstrate manual error display.Summary by CodeRabbit
New Features
messageprop without relying on form state.Documentation
Tests
✏️ Tip: You can customize this high-level summary in your review settings.