Description
Returns a empty Selection object.
Returns
data type description Selection A Selection object
A selection is mostly used as dropdown fields to select one or multiple options.
Returns a empty Selection object.
data type description Selection A Selection object
Returns a Selection object, where the defaul languages (en, de, it, fr) are set with the translations.
data type description Selection A Selection object
Returns the Language object for the defined option, when found
parameter data type description 0 String The option ident Returns
data type description Option<Language> Returns the language if found
Inserts a new option to the selection with the given ident and Language.
parameter data type description 0 String The option ident 1 Language The language text Returns
data type description Result<()> Returns error when input was wrong
Returns the idents of the selected options
data type description Vec<String> Returns a list with the selected idents
Returns the first selected ident
data type description String Returns the first selected ident