Allow providing values for custom fields in item detail

This commit is contained in:
Eike Kettner
2020-11-19 23:37:00 +01:00
parent e90f65f941
commit 4059ef31c1
6 changed files with 699 additions and 21 deletions

View File

@ -24,6 +24,7 @@ import Api.Model.SentMails exposing (SentMails)
import Api.Model.Tag exposing (Tag)
import Api.Model.TagList exposing (TagList)
import Comp.AttachmentMeta
import Comp.CustomFieldMultiInput
import Comp.DatePicker
import Comp.DetailEdit
import Comp.Dropdown
@ -93,6 +94,7 @@ type alias Model =
, modalEdit : Maybe Comp.DetailEdit.Model
, attachRename : Maybe AttachmentRename
, keyInputModel : Comp.KeyInput.Model
, customFieldsModel : Comp.CustomFieldMultiInput.Model
}
@ -194,6 +196,7 @@ emptyModel =
, modalEdit = Nothing
, attachRename = Nothing
, keyInputModel = Comp.KeyInput.init
, customFieldsModel = Comp.CustomFieldMultiInput.initWith []
}
@ -279,6 +282,7 @@ type Msg
| ToggleAttachMenu
| UiSettingsUpdated
| SetLinkTarget LinkTarget
| CustomFieldMsg Comp.CustomFieldMultiInput.Msg
type SaveNameState