diff --git a/app/.vs/app/v16/.suo b/app/.vs/app/v16/.suo index d8701a6..cefef21 100644 Binary files a/app/.vs/app/v16/.suo and b/app/.vs/app/v16/.suo differ diff --git a/app/.vs/slnx.sqlite b/app/.vs/slnx.sqlite index a305b4a..8375d97 100644 Binary files a/app/.vs/slnx.sqlite and b/app/.vs/slnx.sqlite differ diff --git a/app/src/app/networking/firewall-rule-editor/firewall-rule-editor.component.ts b/app/src/app/networking/firewall-rule-editor/firewall-rule-editor.component.ts index 80ae935..6b6e687 100644 --- a/app/src/app/networking/firewall-rule-editor/firewall-rule-editor.component.ts +++ b/app/src/app/networking/firewall-rule-editor/firewall-rule-editor.component.ts @@ -56,7 +56,8 @@ export class FirewallRuleEditorComponent implements OnInit, OnDestroy this.editorForm.get(['ruleSettings', 'key']).setValue(null); this.editorForm.get(['ruleSettings', 'value']).setValue(null); - this.editorForm.get('ruleSettings').clearValidators(); + this.editorForm.get(['ruleSettings', 'key']).clearValidators(); + this.editorForm.get(['ruleSettings', 'value']).clearValidators(); setTimeout(() => { @@ -98,6 +99,9 @@ export class FirewallRuleEditorComponent implements OnInit, OnDestroy { this.keyRegex = '^.+$'; } + + this.editorForm.get(['ruleSettings', 'key']).updateValueAndValidity(); + this.editorForm.get(['ruleSettings', 'value']).updateValueAndValidity(); }, 0); }); }