@if (type() === 'edit') {
}
@if (form.controls['name'].touched && form.controls['name'].errors?.['required']) {
{{ 'attribute_name_is_required' | translate }}
}

{{ '*Choose the desired shape style, such as rectangle or circle. Based on your selection, variant options will be displayed on product page.' }}

@for (val of valueControl.controls; track val; let index = $index) {
@if (val.get('value')!.touched && val.get('value')!.errors?.['required']) {
{{ 'value_is_required' | translate }}
}
@if (form.get('style')!.value === 'color') {
{{ val.get('hex_color')?.value }}
} @if (valueControl.controls.length > 1) { }
}
{{ 'add_value' | translate }}
{{ (type() === 'create' ? 'save_attribute' : 'update_attribute') | translate}}