Tracker, Dropdown field; 2 options can't have the same value (one is not displayed)
- Status
- Open
- Subject
- Tracker, Dropdown field; 2 options can't have the same value (one is not displayed)
- Version
- 25.x
master - Category
- Bug
- Feature
- Trackers
- Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Related-to
- Description
In a fresh Tiki25 I have a dropdown field type with different values.
The doc say:
If an option contains an equal sign, the part before the equal sign will be used as the value, and the second part as the label
I tried the following where several can have the same value.In my mind if the user select "yes" or "no" the value will be 1 and if the user assign "not today" the value will be 0.
But it is not working like this.
It seems the value must be unique while I can have several of the same label.So if I set the field options to : 1=yes,1=no,not today=0
It won't work (the first 1 value won't be displayed)So if I set the field options to : 1=yes,10=yes,not today=0
It kind of work and display twice the label yesThis is awkward from the user point of view...
- Importance
- 3
- Easy to solve?
- 7
- Priority
- 21
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8277
- Created
- Sunday 25 December, 2022 12:21:25 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Sunday 25 December, 2022 12:21:25 UTC