posm / OpenMapKitAndroid

http://openmapkit.org
BSD 3-Clause "New" or "Revised" License
128 stars 38 forks source link

Multiple select: when retagging, break down value into it's selected options again (if possible) #120

Closed PaulUithol closed 8 years ago

PaulUithol commented 8 years ago

Probably not quite a bug, just some nicer behavior:

It would improve usability if the separate parts were selected; now, it can appear nothing's selected if you have a longer list, since the 'custom' value will be at the bottom, possibly offscreen. One thing to watch out for is what to do if the user did actually type in a custom value instead of sticking to selecting predefined values.

screenshot_2016-01-08-18-59-42

hallahan commented 8 years ago

Fixing this should involve a function that splits any given tag value by ; into corresponding elements, filter out duplicates, and then select the checkboxes with matching values.

I'd really like to understand why there are duplicates at all, however...

PaulUithol commented 8 years ago

This also happens when there aren't any duplicates, but simply >1 selected.