OxJS: All form elements should have "value" #209
Labels
No labels
backend
critical
defect
duplicate
enhancement
fixed
frontend
general
invalid
major
minor
normal
oxjs
pandora_client
python-ox
task
trivial
wontfix
worksforme
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: 0x2620/pandora#209
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In order to make forms more consistent, "value" should be generalized for form elements. It's not 100% clear if this should always be self.options.value, or if {..., selected: true} or {..., checked: true} makes more sense for Selects or , in which case we'd need a that.value() getter/setter. Forms should have "value" too (rather than "values"), and should combine their Form's values as "value" as well. It may even be interesting for Lists to have a value (the array of selected ids), so they could be used as multi-selects.
Marking fixed.