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

Remove duplication between fieldset checkboxes and radios #284

Merged

Conversation

peteryates
Copy link
Member

@peteryates peteryates commented May 29, 2021

These two classes act in a very-similar manner, much of the functionality is duplicate. As all fieldset items are conditional, we can safely remove the Traits::Conditional and just treat everything as a FieldsetItem.

This is the same approach taken by the text fields and Traits::Input.

These two classes act in a very-similar manner, much of the
functionality is duplicate. As all fieldset items are conditional, we
can safely remove the Traits::Conditional and just treat everything as
a FieldsetItem.

This is the same approach taken by the text fields and Traits::Input.

Refs #283
@peteryates peteryates force-pushed the combine-conditional-radio-and-checkbox-functionality branch from 492e253 to 732e7e1 Compare May 29, 2021 14:05
@peteryates
Copy link
Member Author

Thanks for suggesting this @jrmhaig, @jsugarman 👍🏽

@peteryates peteryates force-pushed the combine-conditional-radio-and-checkbox-functionality branch from 732e7e1 to 5231901 Compare June 1, 2021 09:41
@peteryates peteryates merged commit e3aa369 into master Jun 1, 2021
@peteryates peteryates deleted the combine-conditional-radio-and-checkbox-functionality branch June 1, 2021 09:55
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.

1 participant