Ticket #171 (closed Defect: fixed)
"Choose" fields should not create empty topics
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Minor | Milestone: | Release 4.6 |
Component: | DeepaMehta Standard Distribution | Version: | 4.0.6 |
Keywords: | Cc: | dgf, Malte, JuergeN | |
Complexity: | 3 | Area: | |
Module: | deepamehta-webclient |
Description (last modified by jri) (diff)
E.g. when I create a person, and let the "Country" field empty, DeepaMehta creates a Country topic (with an empty name) anyway. From now on the Country menu lists an additional empty item.
Change History
comment:5 Changed 10 years ago by jri
- Cc dgf, Malte, JuergeN added
- Module set to deepamehta-webclient
- Milestone set to Release 4.6
comment:8 Changed 10 years ago by jri
- Status changed from accepted to closed
- Resolution set to fixed
comment:10 in reply to: ↑ 7 Changed 9 years ago by jri
- Status changed from closed to reopened
- Resolution fixed deleted
Replying to Jörg Richter <jri@…>:
Number fields can be empty. The Webclient does not fill in 0 automatically anymore. This design decision was made because 0 and "not set" might mean something different to the user.
There is a bug with Number fields and comboboxes: you can't clear that Number field if there is a menu item with 0 (number) label. This is because empty (string) input matches that item. (In Javascript 0 == "" is true.)
This occurs e.g. in Hour/Minute? fields of the DateTime? plugin (#901) as 0 is a valid value for Hour and Minute.
comment:11 Changed 9 years ago by Jörg Richter <jri@…>
comment:12 Changed 8 years ago by jri
- Status changed from reopened to closed
- Resolution set to fixed