allow refocusing when field is errorenous

pull/4580/head
Jens Ulferts 8 years ago
parent bb109fcfc8
commit bc02799de9
  1. 2
      frontend/app/components/wp-edit/wp-edit-field/wp-edit-field.directive.ts

@ -100,7 +100,7 @@ export class WorkPackageEditFieldController {
return this.buildEditField().then(() => {
this._active = this.field.schema.writable;
if (this._active && !alreadyActive) {
if (this._active && (!alreadyActive || this.errorenous)) {
this.focusField();
}
return this._active;

Loading…
Cancel
Save