core
0.11.3
core
/
de.peekandpoke.kraft.addons.forms
/
InputOptions
Input
Options
interface
InputOptions
<
T
>
:
FieldOptions
<
T
>
Content copied to clipboard
Types
Functions
Properties
Inheritors
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
accepts
Link copied to clipboard
abstract
fun
accepts
(
vararg
rules
:
Rule
<
T
>
)
Content copied to clipboard
Adds a validation rule
access
Link copied to clipboard
open
fun
<
X
>
access
(
key
:
TypedKey
<
X
>
)
:
FieldOptions.Access
<
T
,
X
>
Content copied to clipboard
as
Date
Input
Link copied to clipboard
open
fun
asDateInput
(
)
Content copied to clipboard
as
Date
Time
Input
Link copied to clipboard
open
fun
asDateTimeInput
(
)
Content copied to clipboard
as
Time
Input
Link copied to clipboard
open
fun
asTimeInput
(
)
Content copied to clipboard
autofocus
Link copied to clipboard
open
fun
autofocus
(
focus
:
Boolean
=
true
)
Content copied to clipboard
label
Link copied to clipboard
abstract
fun
label
(
label
:
String
)
Content copied to clipboard
Properties
attributes
Link copied to clipboard
abstract
val
attributes
:
MutableTypedAttributes
Content copied to clipboard
autofocus
Value
Link copied to clipboard
open
val
autofocusValue
:
FieldOptions.Access
<
T
,
Boolean
>
Content copied to clipboard
format
Value
Link copied to clipboard
open
val
formatValue
:
FieldOptions.Access
<
T
,
String
>
Content copied to clipboard
label
Link copied to clipboard
open
val
label
:
FieldOptions.Access
<
T
,
RenderFunc
<
LABEL
>
>
Content copied to clipboard
name
Link copied to clipboard
open
val
name
:
FieldOptions.Access
<
T
,
String
>
Content copied to clipboard
placeholder
Link copied to clipboard
open
val
placeholder
:
FieldOptions.Access
<
T
,
String
>
Content copied to clipboard
rules
Link copied to clipboard
abstract
val
rules
:
List
<
Rule
<
T
>
>
Content copied to clipboard
step
Link copied to clipboard
open
val
step
:
FieldOptions.Access
<
T
,
Number
>
Content copied to clipboard
type
Link copied to clipboard
open
val
type
:
FieldOptions.Access
<
T
,
InputType
>
Content copied to clipboard
Inheritors
Input
Link copied to clipboard