Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Fix text area fields size and alignment
- Optimize container loading when there are a large number of entities
- Adding a verification in refreshContainer function for obj value which can be an empty string instead of an array

## [1.24.0] - 2026-04-16

Expand Down
2 changes: 1 addition & 1 deletion inc/field.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ function(obj, item) {
var multiple_matches = item.name.match(/^(.+)\[\]$/);
if (multiple_matches) {
var name = multiple_matches[1];
if (!(name in obj)) {
if (!(name in obj) || obj[name] == "") {
obj[name] = [];
}
obj[name].push(item.value);
Expand Down