-
Notifications
You must be signed in to change notification settings - Fork 21
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
2753 error panel needs extending to accept two errors for one input #2817
2753 error panel needs extending to accept two errors for one input #2817
Conversation
✅ Deploy Preview for ons-design-system-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…wo-errors-for-one-input
{{ | ||
onsDateInput({ | ||
"id": "period-from-date", | ||
"legendOrLabel": "Period from:", | ||
"description": "For example, 31 3 2019", | ||
"day": { | ||
"label": { | ||
"text": "Day" | ||
}, | ||
"name": "day", | ||
"value": "31" | ||
}, | ||
"month": { | ||
"label": { | ||
"text": "Month" | ||
}, | ||
"name": "month", | ||
"value": "13" | ||
}, | ||
"year": { | ||
"label": { | ||
"text": "Year" | ||
}, | ||
"name": "year", | ||
"value": "2018" | ||
} | ||
}) | ||
}} |
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.
To show the functionality I think we only need one date input and just have it ask for date of birth or something would make it simpler as the extra date input isn't really adding anything. Or could just use a single regular input with 2 problems with the answer might be even better as this isn't only going to be used on components with more than one input
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.
What is the context of this PR?
This fixes #2753. This ticket ensures that the error panel accepts multiple errors for a single input. Users can now enter a list of errors for a single input.
How to review this PR
Check that the error panel component can accept multiple error message as well as a single one.
Checklist
This needs to be completed by the person raising the PR.