-
Notifications
You must be signed in to change notification settings - Fork 2
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: add WidgetCheckBoxes #8
base: main
Are you sure you want to change the base?
Conversation
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.
Merci pour les modifs, j'ai laissé quelques commentaires (pas vraiment bloquants).
(Je n'ai pas pris le temps de tester en local).
size="small" | ||
priority="secondary" | ||
> | ||
Supprimer |
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.
question: est-ce que l'on a envie de laisser la possibilité de customiser le label des buttons avec un ui:removeLabel
?
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.
oui!
) | ||
|
||
const tabContent = | ||
(items.length && ( |
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.
nitpick: j'avoue que je suis plutôt pour utiliser systématiquement l'opérateur ternaire pour éviter des petits bugs d'affichages non désirés (items.length ? (...) : null
).
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.
ok!
parseInt(selectedTabId.replace(/^tab(\d+)$/, '$1')), | ||
) | ||
|
||
const tabContent = |
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.
const tabContent = | |
const removeTabContent = |
uiSchema !== undefined ? uiSchema['ui:help'] : undefined | ||
} | ||
> | ||
{option.label + (required ? '*' : '')} |
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.
question: est-ce que la gestion des champs requis ne devrait pas être directement gérée au dans le composant <LabelWithHelp>
(ou un autre composant <Label>
) ?
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.
will look
Co-authored-by: Emile Rolley ⏚ <[email protected]> Signed-off-by: Julien Bouquillon <[email protected]>
Co-authored-by: Emile Rolley ⏚ <[email protected]> Signed-off-by: Julien Bouquillon <[email protected]>
Co-authored-by: Emile Rolley ⏚ <[email protected]> Signed-off-by: Julien Bouquillon <[email protected]>
and some fixes