mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Use a placeholder string for all dropdowns
This commit is contained in:
@ -102,6 +102,7 @@ formTabs texts flags settings model =
|
||||
, fieldIcon = \f -> Dict.get f.id model.customFieldSavingIcon
|
||||
, style = dds
|
||||
, createCustomFieldTitle = texts.createNewCustomField
|
||||
, selectPlaceholder = texts.basics.selectPlaceholder
|
||||
}
|
||||
|
||||
optional fields html =
|
||||
@ -127,7 +128,7 @@ formTabs texts flags settings model =
|
||||
|
||||
folderCfg =
|
||||
{ makeOption = Util.Folder.mkFolderOption flags model.allFolders
|
||||
, placeholder = texts.selectPlaceholder
|
||||
, placeholder = texts.basics.selectPlaceholder
|
||||
, labelColor = \_ -> \_ -> ""
|
||||
, style = dds
|
||||
}
|
||||
@ -135,14 +136,14 @@ formTabs texts flags settings model =
|
||||
idNameCfg =
|
||||
{ makeOption = \e -> { text = e.name, additional = "" }
|
||||
, labelColor = \_ -> \_ -> ""
|
||||
, placeholder = texts.selectPlaceholder
|
||||
, placeholder = texts.basics.selectPlaceholder
|
||||
, style = dds
|
||||
}
|
||||
|
||||
personCfg =
|
||||
{ makeOption = \p -> Util.Person.mkPersonOption p model.allPersons
|
||||
, labelColor = \_ -> \_ -> ""
|
||||
, placeholder = texts.selectPlaceholder
|
||||
, placeholder = texts.basics.selectPlaceholder
|
||||
, style = dds
|
||||
}
|
||||
in
|
||||
|
@ -662,6 +662,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
, fieldIcon = customFieldIcon
|
||||
, style = dds
|
||||
, createCustomFieldTitle = ""
|
||||
, selectPlaceholder = texts.basics.selectPlaceholder
|
||||
}
|
||||
|
||||
dds =
|
||||
@ -672,7 +673,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
|
||||
folderCfg =
|
||||
{ makeOption = Util.Folder.mkFolderOption flags model.allFolders
|
||||
, placeholder = ""
|
||||
, placeholder = texts.basics.selectPlaceholder
|
||||
, labelColor = \_ -> \_ -> ""
|
||||
, style = dds
|
||||
}
|
||||
@ -680,7 +681,7 @@ renderEditForm2 texts flags cfg settings model =
|
||||
idNameCfg =
|
||||
{ makeOption = \e -> { text = e.name, additional = "" }
|
||||
, labelColor = \_ -> \_ -> ""
|
||||
, placeholder = texts.selectPlaceholder
|
||||
, placeholder = texts.basics.selectPlaceholder
|
||||
, style = dds
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user