placeholder
is an optional key for path pickers and text boxes.
It displays a message when the text box is empty.
{
"gui": {
"window_name": "Placeholder sample",
"command": "echo %-% %-% %-%",
"components": [
{
"type": "file",
"label": "Some file",
"placeholder": "Drop a file here!"
},
{
"type": "folder",
"label": "Some folder",
"placeholder": "Drop a folder here!"
},
{
"type": "text",
"label": "Some text",
"placeholder": "Type here!"
}
]
}
}