Skip to content
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

Implement fieldset component schema type definition #32

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

sergei-maertens
Copy link
Member

Partly closes #2
Depends on #31

@sergei-maertens sergei-maertens marked this pull request as ready for review November 30, 2023 13:19
Comment on lines +14 to +15
* The label is displayed as the legend element, while the upstream component uses an
* explicit legend property for this purpose.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I understand this sentence:

  • The label is displayed as the legend element

legend == <legend>?

  • while the upstream component uses an explicit legend property for this purpose.

upstream = formio? What does explicit means here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. correct, this is about <legend>
  2. upstream = formio indeed, explicit as in component.legend exists and component.label is actually ignored

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok nice, I'd be interested to see how this will be implemented on the form builder as I've used <fieldset> with <legend> as well.

@sergei-maertens sergei-maertens merged commit 8078ae7 into main Nov 30, 2023
6 checks passed
@sergei-maertens sergei-maertens deleted the feature/2-fieldset-type branch November 30, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export Formio Typescript types
2 participants