Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Fix conflict between two select_one items with same name but different groups#1105

Merged
sgalsaleh merged 2 commits intomasterfrom
select-one-items-same-name-conflict
Mar 5, 2020
Merged

Fix conflict between two select_one items with same name but different groups#1105
sgalsaleh merged 2 commits intomasterfrom
select-one-items-same-name-conflict

Conversation

@sgalsaleh
Copy link
Member

What I Did

Fix conflict between two select_one items with same name but different groups

How I Did it

add the group to the input id in the ConfigRadio component

How to verify it

Description for the Changelog

Picture of a Ship (not required but encouraged)

@sgalsaleh sgalsaleh requested review from GraysonNull and jgruica March 5, 2020 21:49
Copy link
Contributor

@dexhorthy dexhorthy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if both select_one config items are in the same group? Or is group here not referring to the top level groups key?

@sgalsaleh
Copy link
Member Author

@dexhorthy group here refers to the ConfigItem and not the ConfigGroup, which is a bit confusing, but i did not want to mess up the whole code for this fix.

@sgalsaleh sgalsaleh merged commit 05f2156 into master Mar 5, 2020
@sgalsaleh sgalsaleh deleted the select-one-items-same-name-conflict branch March 5, 2020 22:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants