Allow editing metadata in item-detail

This commit is contained in:
Eike Kettner
2020-08-07 01:22:18 +02:00
parent f3ba224124
commit af7cfa0ae1
5 changed files with 263 additions and 6 deletions

View File

@ -9,6 +9,7 @@ module Comp.Dropdown exposing
, makeSingle
, makeSingleList
, mkOption
, notSelected
, setMkOption
, update
, view
@ -155,6 +156,11 @@ getSelected model =
List.map .value model.selected
notSelected : Model a -> Bool
notSelected model =
getSelected model |> List.isEmpty
type Msg a
= SetOptions (List a)
| SetSelection (List a)