0.2.6 #49
@@ -64,9 +64,9 @@ class RegisterFormService extends Effect.Service<RegisterFormService>()("Registe
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
form,
|
form,
|
||||||
emailField: Form.focusObjectField(form, "email"),
|
emailField: Form.focusObjectOn(form, "email"),
|
||||||
passwordField: Form.focusObjectField(form, "password"),
|
passwordField: Form.focusObjectOn(form, "password"),
|
||||||
birthField: Form.focusObjectField(form, "birth"),
|
birthField: Form.focusObjectOn(form, "birth"),
|
||||||
} as const
|
} as const
|
||||||
})
|
})
|
||||||
}) {}
|
}) {}
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ export class EditTodoView extends Component.make("TodoView")(function*(props: Ed
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
indexSubscribable,
|
indexSubscribable,
|
||||||
Form.focusObjectField(form, "content"),
|
Form.focusObjectOn(form, "content"),
|
||||||
Form.focusObjectField(form, "completedAt"),
|
Form.focusObjectOn(form, "completedAt"),
|
||||||
] as const
|
] as const
|
||||||
}), [props.id])
|
}), [props.id])
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ export class NewTodoView extends Component.make("NewTodoView")(function*() {
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
form,
|
form,
|
||||||
Form.focusObjectField(form, "content"),
|
Form.focusObjectOn(form, "content"),
|
||||||
Form.focusObjectField(form, "completedAt"),
|
Form.focusObjectOn(form, "completedAt"),
|
||||||
] as const
|
] as const
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user