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