Fix bug in dropdown

The menu for a multi-dropdown should only show entries that are not
already selected (there is no use case to select the same item more
than once).
This commit is contained in:
Eike Kettner
2020-06-12 23:12:49 +02:00
parent 152ad7373c
commit d41ddd9729
2 changed files with 6 additions and 1 deletions

View File

@ -276,6 +276,7 @@ saveTags flags model =
let
tags =
Comp.Dropdown.getSelected model.tagModel
|> Util.List.distinct
|> List.map (\t -> IdName t.id t.name)
|> ReferenceList
in