-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat(Forms): add label
and showLabel
prop to Form.SubmitIndicator
#4409
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
128d1d3
to
449a159
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
packages/dnb-eufemia/src/extensions/forms/Form/SubmitIndicator/SubmitIndicatorDocs.ts
Outdated
Show resolved
Hide resolved
2740740
to
436dc6d
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.
Should we add a screenshot test for this feature?
Or perhaps, it's enough, and/or will indirectly be covered at a later stage in a different feature that will use this feature.
1b66f04
to
4928219
Compare
Added a visual test 👍 |
…es (#4410) This PR is based on #4409 Add `showLabel` to the FieldBlock, so that async processes have label instead of just the dots: <img width="420" alt="Screenshot 2024-12-17 at 10 35 02" src="https://github.com/user-attachments/assets/df772014-aa63-4959-b7f1-b936eb0eb0b1" /> --------- Co-authored-by: Anders <anderslangseth@gmail.com>
## [10.62.0](v10.61.0...v10.62.0) (2024-12-20) ### 🔁 CI * upgrade playwright ([#4413](#4413)) ([27f2106](27f2106)) ### ✨ Features * **Forms:** add `label` and `showLabel` prop to Form.SubmitIndicator ([#4409](#4409)) ([95af6e3](95af6e3)) * **Forms:** add `update` method to `Form.setData` ([#4416](#4416)) ([d2f5c23](d2f5c23)) * **Forms:** show a label along the indicator for async field processes ([#4410](#4410)) ([885ae0d](885ae0d)), closes [#4409](#4409) ### 🐛 Bug Fixes * **Autocomplete:** support query with unicodes when using `search_numbers` ([#4419](#4419)) ([f19b7da](f19b7da))
🎉 This PR is included in version 10.62.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR adds two new properties to the
SubmitIndicator
:showLabel
makes to the label gets visible.label
is to customize the label content.The
SubmitIndicator
is not effected from this change, except that we speed up the animation.