@devtron-labs/devtron-fe-common-lib 0.0.7-beta-15 → 0.0.7-beta-16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8647,7 +8647,7 @@ var TagLabelValueSelector = function (_a) {
8647
8647
  ? !validationRules.propagateTagKey(selectedValue).isValid
8648
8648
  : _tagData.value !== '';
8649
8649
  }
8650
- else if (selectedValue || isRequired) {
8650
+ else if (selectedValue || isRequired || _tagData.propagate) {
8651
8651
  _tagData.isInvalidValue = !validationRules.propagateTagValue(selectedValue).isValid;
8652
8652
  _tagData.isInvalidKey = !_tagData.key || _tagData.isInvalidKey;
8653
8653
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.7-beta-15",
3
+ "version": "0.0.7-beta-16",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -48,7 +48,7 @@ export const TagLabelValueSelector = ({
48
48
  _tagData.isInvalidKey = selectedValue
49
49
  ? !validationRules.propagateTagKey(selectedValue).isValid
50
50
  : _tagData.value !== ''
51
- } else if (selectedValue || isRequired) {
51
+ } else if (selectedValue || isRequired || _tagData.propagate) {
52
52
  _tagData.isInvalidValue = !validationRules.propagateTagValue(selectedValue).isValid
53
53
  _tagData.isInvalidKey = !_tagData.key || _tagData.isInvalidKey
54
54
  } else {