From da20f3a25b1c9a68353ad3b21f9517628abc6e9e Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sat, 21 Feb 2026 17:44:19 -0300 Subject: [PATCH 1/3] fix(form): Remove `BaseChoice` class and related mixins; update `InputCheckbox`, `InputFile`, and `InputRadio` to extend `BaseInput`. --- CHANGELOG.md | 1 + src/Form/Base/BaseChoice.php | 126 --------- src/Form/InputCheckbox.php | 41 ++- src/Form/InputFile.php | 26 +- src/Form/InputRadio.php | 41 ++- src/Form/Mixin/CanBeEnclosedByLabel.php | 39 --- src/Form/Mixin/HasUnchecked.php | 51 ---- tests/Form/InputCheckboxTest.php | 344 +----------------------- tests/Form/InputFileTest.php | 40 +-- tests/Form/InputRadioTest.php | 344 +----------------------- 10 files changed, 78 insertions(+), 975 deletions(-) delete mode 100644 src/Form/Base/BaseChoice.php delete mode 100644 src/Form/Mixin/CanBeEnclosedByLabel.php delete mode 100644 src/Form/Mixin/HasUnchecked.php diff --git a/CHANGELOG.md b/CHANGELOG.md index e8e184c..558b0ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ - Enh #52: Add `InputColor` class for HTML `` element with attributes and rendering capabilities (@terabytesoftw) - Enh #53: Add `TextArea` class for HTML `