toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks.useform
/
FormScope
Form
Scope
class
FormScope
Form Component scope
Members
Types
Companion
Link copied to clipboard
object
Companion
Functions
_is
Validated
Link copied to clipboard
@
Composable
fun
FormInstance
.
_isValidated
(
)
:
State
<
Boolean
>
获取是否验证通过的
状态
,
Form
Item
Link copied to clipboard
@
Composable
fun
<
T
:
Any
>
FormItem
(
name
:
String
,
vararg
validators
:
Validator
,
content
:
@
Composable
(
Triple
<
MutableState
<
T
?
>
,
Boolean
,
List
<
String
>
>
)
->
Unit
)
表单字段容器组件