Merge pull request #5552 from 2580ayush2580/ayush25801

Fixed continue button while selecting home-server
pull/21833/head
Michael Telatynski 2021-01-18 17:24:00 +00:00 committed by GitHub
commit 7b882c6393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;