This is one of those weird quirks/bugs that we have since the list field 
gets special treatment and is always treated as a list of values, that is 
an array.
So "open" is the value we are setting, but ["open"] is what gets saved as 
the list field. Since they aren't the same, checkbox will never get 
rendered as checked.

Probably worth opening an issue for.

Also note that using the list field with a checkbox in this way will 
replace the previous contents of the list, it will not add to them, so 
using actions with listops operators is probably the way to go.

Tangentially related to https://github.com/Jermolene/TiddlyWiki5/pull/4567

On Monday, May 4, 2020 at 11:34:55 PM UTC+2, Riz wrote:
>
> Yeah, same here
>
> On Tue, 5 May 2020, 03:03 'Mark S.' via TiddlyWiki, <
> [email protected] <javascript:>> wrote:
>
>> I don't get an error message, but the checkbox never binds to the field, 
>> and you can never flip the field away from "open".
>>
>> The same thing happens if you use "tags". 
>>
>> On Monday, May 4, 2020 at 2:14:21 PM UTC-7, Riz wrote:
>>>
>>> Just checking if I am the only one with this error
>>>
>>> Steps to reproduce
>>>
>>> Download an empty tiddlywiki
>>> Create a new tiddler
>>> Paste the following
>>>
>>> <$checkbox field="list" checked="open" unchecked="closed" 
>>> default="closed"> Is it open?</$checkbox>
>>>
>>> Sincerely
>>> Riz
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/Q5zMj0hL4Jk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/f87f793e-13c4-4781-a912-b1aeacb3fe29%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/f87f793e-13c4-4781-a912-b1aeacb3fe29%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/774ec8c6-95b6-4625-a235-c5d8863cc65e%40googlegroups.com.

Reply via email to