Skip to content

Merge Radio&Checkbox to single template#65

Merged
smithdc1 merged 1 commit intomainfrom
checkbox
Jun 18, 2021
Merged

Merge Radio&Checkbox to single template#65
smithdc1 merged 1 commit intomainfrom
checkbox

Conversation

@smithdc1
Copy link
Copy Markdown
Member

Less templates is better 🤔 .

The only difference is the input type which is hard coded in the two templates. We can instead access this directly from the widget (subwidget?).

While I guess it is plausabile to do something similar with the "inline" variants those have existing layout classes whose templates hard coded in the core package. Given the age of those I'm not sure trying to change that at this stage is a good idea.

@smithdc1 smithdc1 merged commit 78140a7 into main Jun 18, 2021
@smithdc1 smithdc1 deleted the checkbox branch June 18, 2021 16:48
@smithdc1 smithdc1 added this to the Next Release milestone Jun 20, 2021
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