Skip to content

Commit dd3c0ee

Browse files
authored
Merge pull request #17537 from phalcon/CP-17536-forms-loader-options
CP-17536 - fixing the options for checkbox/radio; removing dead code
2 parents 2368447 + 5433a78 commit dd3c0ee

11 files changed

Lines changed: 182 additions & 147 deletions

File tree

CHANGELOG-5.0.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes are documented here. The format is based on [Keep a Changelog][keep_a_changelog] and this project adheres to [Semantic Versioning][semantic_versioning].
44

5+
## [5.20.4](https://github.com/phalcon/cphalcon/releases/tag/v5.20.4) (2026-xx-xx)
6+
7+
### Tools
8+
9+
- Zephir 1.3.0
10+
11+
### Changed
12+
13+
### Added
14+
15+
### Fixed
16+
17+
- `Phalcon\Forms\Element\CheckGroup` and `RadioGroup` storing their choices in the property `Phalcon\Forms\Element\AbstractElement` uses for user options, so `setUserOption()` added a choice and `setOptions()` removed every user option. [#17536](https://github.com/phalcon/cphalcon/issues/17536) [[doc]](https://docs.phalcon.io/5.20/forms/)
18+
- `Phalcon\Forms\Element\Select::addOption()` writing with an offset into an object or `null` options value; the write now happens only when the options value is an array (`null` becomes an empty array). [#17536](https://github.com/phalcon/cphalcon/issues/17536) [[doc]](https://docs.phalcon.io/5.20/forms/)
19+
20+
### Removed
21+
22+
523
## [5.20.3](https://github.com/phalcon/cphalcon/releases/tag/v5.20.3) (2026-08-26)
624

725
### Tools

ext/phalcon/forms/element/abstractelement.zep.c

Lines changed: 22 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/phalcon/forms/element/checkgroup.zep.c

Lines changed: 20 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)