Dialog - Single Option Input - Option Entry (Section) — SkBee

Addon: SkBee · Category: Section · Since: 3.16.0

Syntax

add options entry

Description

An option to be used in an options section of a single option input. See [**Single Option Input on SkBee wiki**](https://github.com/ShaneBeee/SkBee/wiki/Dialogs#single-option-input) for more info. **Entries**: - `display` = A string/text component for what is displayed as the option. - `initial` = Only one option can have this set to true. If true, the option chosen will be the initial one. Defaults to the first option being true, and all others false.

Examples

add single option input:
	key: "le_key"
	label: "Choose favorite animal"
	options:
		add options entry:
			display: "cat"
		add options entry:
			display: "dog"
		add options entry:
			display: "turtle"
		add options entry:
			display: "spider"

View source