refactor(components): [form/form-item] use type-based definitions#23483
Conversation
📝 WalkthroughWalkthroughRuntime prop schemas for Form and FormItem were replaced with explicit exported TypeScript interfaces (FormProps, FormMetaProps, FormItemProps). Components now use typed defineProps() wrapped with withDefaults for defaults; deprecated ExtractPropTypes-based exports were retained as annotated aliases. Changes
Sequence Diagram(s)(omitted — changes are type/interface and component prop typing updates without new multi-component control flow) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
|
🧪 Playground Preview: https://element-plus.run/?pr=23483 |
|
@snowbitx Thanks for your contribution! ❤️ |
…ement-plus#23483) * refactor(components): [form] use type-based definitions * fix: add export * fix: add type

Please make sure these boxes are checked before submitting your PR, thank you!
devbranch.ref Refactor Component Props to type-based declarations #23399
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.