nodel icon indicating copy to clipboard operation
nodel copied to clipboard

Dynamic lists with numerical keys behave strangely

Open justparking opened this issue 3 years ago • 1 comments

Refer to full sample listed in #253 - if this is data is used instead:

Part of script.py

def main():
  local_event_DynamicList.emit([ { 'key': '1234', 'value': 'JP'} ,
                                 { 'key': '1235', 'value': 'AM'} ,
                                 { 'key': '1232', 'value': 'JG'} ,
                                 { 'key': '1212', 'value': 'NP'} ])

This is the very odd result: image

And I'm not sure if <dynamicselect> would be affected by this kind of data too and we've just never come across it.

(@mcartmel FYI)

justparking avatar Jul 15 '22 10:07 justparking

Bug fixed to properly support 'number' type of arg (#254). morimoriysmoon@91230b426ec2ff8ceddfb706a0eeb4084cde3d48

Does 'dynamicselectbuttons' need to support 'boolean' type of arg? Please advise me.

morimoriysmoon avatar Jul 16 '22 03:07 morimoriysmoon

We'll leave as is.

justparking avatar Oct 30 '22 07:10 justparking