Fixed continue button while selecting home server
This commit is contained in:
parent
6c8e6096da
commit
530a242aae
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ export default class ServerPickerDialog extends React.PureComponent<IProps, ISta
|
|||
|
||||
const valid = await this.fieldRef.current.validate({ allowEmpty: false });
|
||||
|
||||
if (!valid) {
|
||||
if (!valid && !this.state.defaultChosen) {
|
||||
this.fieldRef.current.focus();
|
||||
this.fieldRef.current.validate({ allowEmpty: false, focused: true });
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue