-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(FormElement): add docs & refactor component structure #4450
Conversation
@@ -123,79 +79,10 @@ export default function Demo() { | |||
} | |||
``` | |||
|
|||
### External error message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a awkward example to add for each form component. it should be added in a complete form example/template instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should add a callout on each form component documentation page to direct people to the FormElement
page (not just on the related components section)
HvFormElement
to root, aligning with other components (this is needed for the currentnextra
doc generation)HvLabel
,HvWarningText
, etc. asHvFormElement
's sub-components, keeping alignment with other componentsHvFormElement
's contexts (and remove/refactor redundant.Provider
.Consumer
components)Warning
please rebase, don't squash