You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fixed continue button while selecting home server
This commit is contained in:
@@ -151,7 +151,7 @@ export default class ServerPickerDialog extends React.PureComponent<IProps, ISta
|
|||||||
|
|
||||||
const valid = await this.fieldRef.current.validate({ allowEmpty: false });
|
const valid = await this.fieldRef.current.validate({ allowEmpty: false });
|
||||||
|
|
||||||
if (!valid) {
|
if (!valid && !this.state.defaultChosen) {
|
||||||
this.fieldRef.current.focus();
|
this.fieldRef.current.focus();
|
||||||
this.fieldRef.current.validate({ allowEmpty: false, focused: true });
|
this.fieldRef.current.validate({ allowEmpty: false, focused: true });
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user