fix: sign in/sign up with enter key
This commit is contained in:
parent
8a2399d50b
commit
f97b72dc55
@ -80,7 +80,7 @@ const WithoutForm = (props) => {
|
|||||||
createForm({
|
createForm({
|
||||||
effects() {
|
effects() {
|
||||||
onFormInputChange((form) => {
|
onFormInputChange((form) => {
|
||||||
setFormValueChanged(true);
|
setFormValueChanged?.(true);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
@ -7,7 +7,7 @@ import { SchemaComponent, useAPIClient, useCurrentDocumentTitle, useSystemSettin
|
|||||||
const schema: ISchema = {
|
const schema: ISchema = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
name: uid(),
|
name: uid(),
|
||||||
'x-component': 'Form',
|
'x-component': 'FormV2',
|
||||||
properties: {
|
properties: {
|
||||||
email: {
|
email: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
@ -8,7 +8,7 @@ import { SchemaComponent, useAPIClient, useCurrentDocumentTitle, useSystemSettin
|
|||||||
const schema: ISchema = {
|
const schema: ISchema = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
name: uid(),
|
name: uid(),
|
||||||
'x-component': 'Form',
|
'x-component': 'FormV2',
|
||||||
properties: {
|
properties: {
|
||||||
email: {
|
email: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
Loading…
Reference in New Issue
Block a user