I have an article checkbox custom field with three options, red, green and blue.
When I change the name of one of these options (for example red becomes orange), changes are transferred, everything is fine.
But when I change the value of one of these options (for example green becomes petrol), the option isn’t checked anymore, the field value is empty.
If you have hundreds of articles and someone wants to change one of these option values you have to open every single article and check the changed option once again.
6.1
Changes in custom field checkbox values should be kept.
No response
Joomla! 6.1.3 stable
PHP 8.4.24
No response
| Labels |
Added:
bug
|
||
| Labels |
Added:
No Code Attached Yet
|
||
Agree.
I think the bug is that is it possible to change a value of a checkbox as soon as there are fields who use it.
Agree.
I think the bug is that is it possible to change a value of a checkbox as soon as there are items who use it.
Or at least perhaps a warning explaining the consequences of a change here, which you have to confirm before anything is lost.
Hi there, and thank you for your feedback. Brian, you have a point when you say "it wouldnt make sense to keep something checked as red if the value has been changed to blue." But would it make sense if the name has been changed to green when the value is still red? This is possible now. And, moreover, it's possible to save the custom field without adding a value at all because "value" isn't mandatory.
I added a radio field with the same issues.
When you left the values empty and go to the article, the fields display only one option, in this case the last of three options.
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-08-22 08:45:27 |
| Closed_By | ⇒ | alikon |
Pretty sure this is by design - it wouldnt make sense to keep something checked as red if the value has been changed to blue. But maybe someone else thinks differently