-
Notifications
You must be signed in to change notification settings - Fork 73
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
Not show required radiobuttons when using code list #12448
Not show required radiobuttons when using code list #12448
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12448 +/- ##
=======================================
Coverage 87.51% 87.51%
=======================================
Files 1274 1274
Lines 18496 18496
Branches 2293 2293
=======================================
Hits 16186 16186
Misses 2037 2037
Partials 273 273 ☔ 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.
🚀
@@ -219,7 +219,9 @@ export function EditOptions<T extends SelectionComponentType>({ | |||
</StudioButton> | |||
</div> | |||
)} | |||
{errorMessage && <ErrorMessage size='small'>{errorMessage}</ErrorMessage>} | |||
{selectedOptionsType !== SelectedOptionsType.CodeList && errorMessage && ( |
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.
Vi må kunne stole på at errorMessage
er riktig her. Er det noen grunn til å ikke gjøre denne sjekken et annet sted, @standeren?
* Remove 'At least one radio required' error message when custom code list is enabled * Adapt tests for checkboxes also
* Remove 'At least one radio required' error message when custom code list is enabled * Adapt tests for checkboxes also
Description
Remove error message that
At least one checkbox/radiobutton is required
when custom code list is enabledVerification