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 (/) } } Project path Default output destination @if (projectForm.controls.default_output_destination.invalid && projectForm.controls.default_output_destination.errors; as errors) { @if (errors?.pattern) { Illegal output destination (e.g. s3://bucket. gs://bucket) } }