-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix(sbb-form-field): remove label property and attribute #2523
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2523 +/- ##
=======================================
Coverage ? 93.19%
=======================================
Files ? 301
Lines ? 24921
Branches ? 2029
=======================================
Hits ? 23225
Misses ? 1667
Partials ? 29 ☔ View full report in Codecov by Sentry. |
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.
LGTM 👍
In order to support SSR we have to remove the label property. As replacement the `<label>` tag should be used. BREAKING CHANGE: `label` property and attribute of `<sbb-form-field>` was removed. Use `<label>` tag inside `<sbb-form-field>` to provide the label information.
0abe60b
to
2c0aff7
Compare
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.
LGTM 👍
In order to support SSR we have to remove the label property. As replacement the
<label>
tag should be used.BREAKING CHANGE:
label
property and attribute of<sbb-form-field>
was removed. Use<label>
tag inside<sbb-form-field>
to provide the label information. E.g.<sbb-form-field label="Example">...</sbb-form-field>
becomes<sbb-form-field><label>Example</label>...</sbb-form-field>