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

As an app developer, I want a better error message for the Input and Likert components #2693

Open
Ildest opened this issue Nov 6, 2024 · 0 comments
Labels
area/layout related to layouts/components area/validation related to form validation rules/messages kind/user-story Used for issues that describes functionality for our users. status/triage

Comments

@Ildest
Copy link

Ildest commented Nov 6, 2024

Description

I came across these messages while testing component behaviours in Studio.

Image

Image

I suggest a rewrite of the messages, to convey in plain language what the error is.

Additional Information

Note: There might be similar messages for other components that need revision as well.

Tasks

Input:
Style: Remove the bullet point in the first paragraph.
Change the wording of the message to:

Det oppsto en feil for Input-8WXOK4:
Datamodellbindingen peker mot typen object i datamodellen. Den må enten være en string, number, integer eller boolean.

Bytt type og prøv igjen for å kunne vise komponenten riktig i skjemaet.

Likert:

Det oppsto en feil for Likert-nfoXhh:
Datamodellbindingen peker mot typen string i datamodellen. Den må være array.
Bytt type og prøv igjen for å kunne vise komponenten riktig i skjemaet.

Acceptance Criterias

Messages have better wording

@Ildest Ildest added area/layout related to layouts/components area/validation related to form validation rules/messages kind/user-story Used for issues that describes functionality for our users. labels Nov 6, 2024
@olemartinorg olemartinorg changed the title As a user, I want a better error message for the Input and Likert components As an app developer, I want a better error message for the Input and Likert components Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/layout related to layouts/components area/validation related to form validation rules/messages kind/user-story Used for issues that describes functionality for our users. status/triage
Projects
Status: No status
Development

No branches or pull requests

1 participant