SingleSelectCollector

Class representing DROPDOWN, RADIO type with SINGLE_SELECT inputType.

This class extends from the FieldCollector class and implements the Collector interface. It is used to collect multiple values from a list of options.

Constructors

Link copied to clipboard
constructor()

Creates a new SingleSelectCollector with the given input.

Properties

Link copied to clipboard
lateinit var options: List<Option>

Functions

Link copied to clipboard
open override fun init(input: JsonObject): SingleSelectCollector

Function to initialize the field collector.