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

Flytt visning av helpLabel til over <input> i InputGroup #3885

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ivarni
Copy link
Contributor

@ivarni ivarni commented May 10, 2024

🎯 Sjekkliste

@fremtind-bot
Copy link
Collaborator

fremtind-bot commented May 10, 2024

Forhåndsvisning: https://jokul.fremtind.no/preview/3876-move-label-2/
🔍 Commit: 735e3c9

Forhåndsvisningen blir tilgjengelig innen et par minutter. Den fjernes automatisk når pull requesten lukkes.

fremtind-bot added a commit that referenced this pull request May 10, 2024
The deprecated props `helpLabel` and `errorLabel` on the `SupportLabel`
component has been removed. Use `label` and `labelType` instead.

BREAKING CHANGE:
errorLabel and helpLabel props will now be ignored and are removed
from the exported types
Removed the `supportLabelProps` prop from `InputGroup`, if you need to
control the label's props you can use a `SupportLabel` element for
either `helpLabel` or `errorLabel`.

BREAKING CHANGE:
`supportLabelProps` no longer exists
fremtind-bot added a commit that referenced this pull request May 10, 2024
Previously, providing both props would mean only showing the error

ISSUES CLOSED: #3876
fremtind-bot added a commit that referenced this pull request May 10, 2024
fremtind-bot added a commit that referenced this pull request May 22, 2024
fremtind-bot added a commit that referenced this pull request May 22, 2024
@piofinn
Copy link
Contributor

piofinn commented May 28, 2024

Alt ser bra ut (annet enn at jeg fant en eksisterende bug, men tar ikke den her)! Men jeg lurer på om vi bør oppdatere eksempler og dokumentasjon litt. Nå er det mye dobbelt info i feilmeldinger i eksemplene, ettersom hjelpeteksten ikke lenger skjules, og vi kan fjerne/endre avsnittet som handler om nettopp repetisjon av innhold :)

I tillegg må vi sørge for å få koordinert release av dette med design på en god måte! (tagger @fremtindjonas )

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.

None yet

3 participants