From f08f16a5f33c80798f1f2fdfa724caadac0b2aa6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 29 Jul 2022 13:59:25 +0200 Subject: [PATCH] Add file-picker display hint --- config/option.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/option.go b/config/option.go index 84166f1..7337145 100644 --- a/config/option.go +++ b/config/option.go @@ -158,11 +158,14 @@ const ( // only sense together with the PossibleValues property // of Option. DisplayHintOneOf = "one-of" - // DisplayHintOrdered Used to mark a list option as ordered. + // DisplayHintOrdered is used to mark a list option as ordered. // That is, the order of items is important and a user interface // is encouraged to provide the user with re-ordering support // (like drag'n'drop). DisplayHintOrdered = "ordered" + // DisplayHintFilePicker is used to mark the option as being a file, which + // should give the option to use a file picker to select a local file from disk. + DisplayHintFilePicker = "file-picker" ) // Option describes a configuration option.