@descope/web-components-ui 1.0.397 → 1.0.399
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/cjs/index.cjs.js +5 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1053.js +1 -1
- package/dist/umd/4619.js +1 -1
- package/dist/umd/4831.js +148 -0
- package/dist/umd/4831.js.LICENSE.txt +17 -0
- package/dist/umd/6726.js +1 -1
- package/dist/umd/7212.js +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-security-questions-setup-index-js.js +1 -2
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-security-questions-setup/index.js +2 -1
- package/src/mixins/externalInputMixin.js +5 -1
- package/dist/umd/descope-security-questions-setup-index-js.js.LICENSE.txt +0 -5
package/dist/cjs/index.cjs.js
CHANGED
@@ -2770,13 +2770,17 @@ const externalInputMixin =
|
|
2770
2770
|
}
|
2771
2771
|
|
2772
2772
|
createExternalInput() {
|
2773
|
-
if (!this.isExternalInput) {
|
2773
|
+
if (!this.isExternalInput || this.isReadOnly || this.isDisabled) {
|
2774
2774
|
return null;
|
2775
2775
|
}
|
2776
2776
|
|
2777
2777
|
// use original input element as reference
|
2778
2778
|
const origInput = this.baseElement.querySelector('input');
|
2779
2779
|
|
2780
|
+
if (!origInput) {
|
2781
|
+
return null;
|
2782
|
+
}
|
2783
|
+
|
2780
2784
|
// to avoid focus loop between external-input and origInput
|
2781
2785
|
// we set origInput's tabindex to -1
|
2782
2786
|
// otherwise, shift-tab will never leave the component focus
|