@descope-ui/common 2.2.53 → 2.2.55
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.2.55](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.54...web-components-ui-2.2.55) (2026-02-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* combo-box `require-match` ([#885](https://github.com/descope/web-components-ui/issues/885)) ([3cbbb50](https://github.com/descope/web-components-ui/commit/3cbbb5089d9f4ff7c6e8b48005664fc26fdca157))
|
|
11
|
+
|
|
12
|
+
## [2.2.54](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.53...web-components-ui-2.2.54) (2026-02-23)
|
|
13
|
+
|
|
5
14
|
## [2.2.53](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.52...web-components-ui-2.2.53) (2026-02-23)
|
|
6
15
|
|
|
7
16
|
## [2.2.52](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.51...web-components-ui-2.2.52) (2026-02-23)
|
package/package.json
CHANGED
|
@@ -15,3 +15,4 @@ export { componentsContextMixin } from './componentsContextMixin';
|
|
|
15
15
|
export { connectorMixin } from './connectorMixin';
|
|
16
16
|
export { createDynamicDataMixin } from './createDynamicDataMixin';
|
|
17
17
|
export { activeableMixin } from './activeableMixin';
|
|
18
|
+
export { inputOverrideValidConstraintsMixin } from './inputOverrideValidConstraintsMixin';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const inputOverrideValidConstraintsMixin = (superclass) =>
|
|
2
|
+
class InputOverrideValidConstraintsMixinClass extends superclass {
|
|
3
|
+
init() {
|
|
4
|
+
super.init?.();
|
|
5
|
+
|
|
6
|
+
// vaadin uses `validConstraints` (required, pattern, minlength, maxlength) to determine if it should validate
|
|
7
|
+
// the input or not. We want to override this behavior, so we can enforce validation even if these attributes are not present.
|
|
8
|
+
if (this.baseElement._hasValidConstraints) {
|
|
9
|
+
this.baseElement._hasValidConstraints = () => true;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
};
|