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

editor: fix options groups for select boxes #244

Merged
merged 1 commit into from
Aug 28, 2020
Merged

editor: fix options groups for select boxes #244

merged 1 commit into from
Aug 28, 2020

Conversation

sebdeleze
Copy link

When options labels are translated for select boxes, the group optionally present was dropped. This PR re-inject the group to keep options grouped.

  • Adds group property after option is translated, if initially present.

Co-Authored-by: Sébastien Délèze sebastien.deleze@rero.ch

@sebdeleze sebdeleze marked this pull request as ready for review August 21, 2020 12:46
@sebdeleze sebdeleze requested a review from AoNoOokami August 21, 2020 12:46
When options labels are translated for select boxes, the group optionally present was dropped. This PR re-inject the group to keep options grouped.

* Adds `group` property after option is translated, if initially present.
* Closes #243.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
@sebdeleze sebdeleze force-pushed the dev branch 2 times, most recently from 27ae1fd to c8de891 Compare August 24, 2020 09:23
@sebdeleze sebdeleze merged commit 1653dbc into rero:dev Aug 28, 2020
@sebdeleze sebdeleze deleted the sed-fix-grouping-option branch August 28, 2020 14:12
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.

2 participants