Toolbox
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Toolbox
form
/
com.michaelflisar.toolbox.form3
/
FormItem
/
DropdownIndex
Dropdown
Index
data
class
DropdownIndex
(
val
label
:
String
,
val
items
:
List
<
String
>
,
val
selectedIndex
:
MutableState
<
Int
>
,
val
subLabel
:
String
?
=
null
,
val
help
:
FormHelp
?
=
null
,
val
visible
:
Boolean
=
true
,
val
enabled
:
Boolean
=
true
)
:
FormItem
Members
Constructors
Dropdown
Index
Link copied to clipboard
constructor
(
label
:
String
,
items
:
List
<
String
>
,
selectedIndex
:
MutableState
<
Int
>
,
subLabel
:
String
?
=
null
,
help
:
FormHelp
?
=
null
,
visible
:
Boolean
=
true
,
enabled
:
Boolean
=
true
)
Properties
enabled
Link copied to clipboard
open
override
val
enabled
:
Boolean
help
Link copied to clipboard
open
override
val
help
:
FormHelp
?
items
Link copied to clipboard
val
items
:
List
<
String
>
label
Link copied to clipboard
open
override
val
label
:
String
selected
Index
Link copied to clipboard
val
selectedIndex
:
MutableState
<
Int
>
sub
Label
Link copied to clipboard
open
override
val
subLabel
:
String
?
visible
Link copied to clipboard
open
override
val
visible
:
Boolean
Functions
Content
Link copied to clipboard
@
Composable
open
override
fun
Content
(
config
:
FormConfig
,
parentIsEnabled
:
Boolean
)