diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html index c4e619d4c8..73c925c244 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html @@ -50,6 +50,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html index 1912f968fd..2a45f8f15a 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html @@ -73,7 +73,7 @@
integration.other-properties - +
diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html index ffe43c2556..1d314e8ba9 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html @@ -62,8 +62,9 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" - appearance="outline" - formControlName="additionalHeadersFilter"> + showRequiredErrors + appearance="outline" + formControlName="additionalHeadersFilter"> @if (kpnIntegrationConfigForm.get('additionalHeadersFilter').hasError('securityHeaderDuplicate')) { {{ 'integration.kpn-security-header-duplicate' | translate }} diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html index 19e59a1698..37dca8e8c9 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html @@ -122,6 +122,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html index 3aa913d9e5..5f0d54dda8 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html @@ -67,6 +67,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html b/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html index 7dc4ab6015..2f5ddbe7a6 100644 --- a/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html @@ -10,17 +10,22 @@ @for (topicFilter of mqttFiltersFromArray.controls; track topicFilter; let i = $index) {
- + @if (i === 0) { {{"integration.topic" | translate }} } - + + @if (topicFilter.get('filter').hasError('required')) { + integration.topics-required + } @if (i === 0) { {{"integration.mqtt-qos" | translate }} } - + @for (mqttQoS of mqttQosTypes; track mqttQoS) { {{ mqttQoS }} - {{ getMqttQosTranslation(mqttQoS) | translate}} diff --git a/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html b/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html index c210b855ff..f74ab22105 100644 --- a/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html @@ -177,7 +177,7 @@
integration.metadata - +
diff --git a/ui-ngx/src/app/modules/home/pages/integration/integration.component.html b/ui-ngx/src/app/modules/home/pages/integration/integration.component.html index 5bb051165f..90e6d22486 100644 --- a/ui-ngx/src/app/modules/home/pages/integration/integration.component.html +++ b/ui-ngx/src/app/modules/home/pages/integration/integration.component.html @@ -115,7 +115,7 @@
integration.metadata - +
diff --git a/ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html b/ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html index c80a7ce0de..8161df7809 100644 --- a/ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html +++ b/ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html @@ -39,7 +39,7 @@ @if (entity && (resource.AUDIT_LOG | hasGenericPermission: operation.READ)) { - + } @if (entity && (resource.API_KEY | hasGenericPermission: operation.READ)) { diff --git a/ui-ngx/src/app/shared/components/kv-map.component.html b/ui-ngx/src/app/shared/components/kv-map.component.html index e900b466cb..882c92f630 100644 --- a/ui-ngx/src/app/shared/components/kv-map.component.html +++ b/ui-ngx/src/app/shared/components/kv-map.component.html @@ -11,11 +11,17 @@
+ placeholder="{{ (keyPlaceholderText ? keyPlaceholderText : 'key-val.key') | translate }}{{ showRequiredErrors ? '*' : '' }}"/> + @if (showRequiredErrors && keyValControl.get('key').hasError('required')) { + key-val.key-required + } + placeholder="{{ (valuePlaceholderText ? valuePlaceholderText : 'key-val.value') | translate }}{{ showRequiredErrors && isValueRequired ? '*' : '' }}"/> + @if (showRequiredErrors && keyValControl.get('value').hasError('required')) { + key-val.value-required + }