Merge branch 'develop' into expand-codeblock

pull/21833/head
Šimon Brandner 2021-01-18 19:08:24 +01:00
commit 45d0270bca
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
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;