mirror of
https://github.com/safing/portbase
synced 2025-09-02 10:40:39 +00:00
Add file-picker display hint
This commit is contained in:
parent
d32e46aca3
commit
f08f16a5f3
1 changed files with 4 additions and 1 deletions
|
@ -158,11 +158,14 @@ const (
|
||||||
// only sense together with the PossibleValues property
|
// only sense together with the PossibleValues property
|
||||||
// of Option.
|
// of Option.
|
||||||
DisplayHintOneOf = "one-of"
|
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
|
// That is, the order of items is important and a user interface
|
||||||
// is encouraged to provide the user with re-ordering support
|
// is encouraged to provide the user with re-ordering support
|
||||||
// (like drag'n'drop).
|
// (like drag'n'drop).
|
||||||
DisplayHintOrdered = "ordered"
|
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.
|
// Option describes a configuration option.
|
||||||
|
|
Loading…
Add table
Reference in a new issue