Skip to content

Latest commit

 

History

History

optional

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Optional Components

optional is an option to ignore "add_quotes", "prefix", "suffix", and "validator" when a text box is empty.

optional

{
    "gui": {
        "command": "echo %-%",
        "components": [
            {
                "type": "text",
                "label": "Text box",
                "optional": true,
                "prefix": "-pre=",
                "suffix": " -suf",
                "validator": {
                    "regex": ".+"
                }
            }
        ]
    }
}