Project name @if (projectForm.controls.name.invalid && projectForm.controls.name.errors; as errors) { @if (errors?.required) { Please add name. } @if (errors?.uniqueProject) { Project name in this path already exists. } @if (errors?.minlength) { Project name should contain more than 3 characters. } @if (errors?.emptyName && !errors?.minlength) { Project name can't contain only spaces. } @if (errors?.pattern && !errors?.minlength) { Project name can't contain slash (/) } } @if (projectForm.controls.parent.touched && projectForm.controls.parent.invalid && projectForm.controls.parent.errors; as errors) { @if (errors?.required) { Please add name. } @if (errors?.minlength) { Project name should contain more than 3 characters. } } Description Default output destination @if (projectForm.controls.parent.invalid && projectForm.controls.parent.errors; as errors) { @if (errors?.required) { Please add default destination. } @if (errors?.pattern) { Illegal output destination (e.g. s3://bucket. gs://bucket) } }