@syncfusion/ej2-inputs 20.1.47 → 20.1.48
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/ej2-inputs.umd.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +18 -9
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +19 -10
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/textbox/textbox-model.d.ts +1 -1
- package/src/textbox/textbox.js +8 -1
- package/src/uploader/uploader.js +12 -10
|
@@ -9011,15 +9011,17 @@ let Uploader = class Uploader extends Component {
|
|
|
9011
9011
|
fileList.classList.add(INVALID_FILE);
|
|
9012
9012
|
}
|
|
9013
9013
|
createFormInput(fileData) {
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
listItem
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
this.
|
|
9014
|
+
if (this.browserName !== 'safari') {
|
|
9015
|
+
const inputElement = this.element.cloneNode(true);
|
|
9016
|
+
inputElement.classList.add(HIDDEN_INPUT);
|
|
9017
|
+
for (const listItem of fileData) {
|
|
9018
|
+
listItem.input = inputElement;
|
|
9019
|
+
}
|
|
9020
|
+
inputElement.setAttribute('name', this.uploaderName);
|
|
9021
|
+
this.uploadWrapper.querySelector('.' + INPUT_WRAPPER).appendChild(inputElement);
|
|
9022
|
+
if (this.browserName !== 'msie' && this.browserName !== 'edge') {
|
|
9023
|
+
this.element.value = '';
|
|
9024
|
+
}
|
|
9023
9025
|
}
|
|
9024
9026
|
}
|
|
9025
9027
|
getFileSize(fileData) {
|
|
@@ -12900,6 +12902,9 @@ let TextBox = class TextBox extends Component {
|
|
|
12900
12902
|
}
|
|
12901
12903
|
this.updateHTMLAttrToElement();
|
|
12902
12904
|
this.checkAttributes(false);
|
|
12905
|
+
if ((isNullOrUndefined(this.textboxOptions) || (this.textboxOptions['value'] === undefined)) && this.element.value !== '') {
|
|
12906
|
+
this.setProperties({ value: this.element.value }, true);
|
|
12907
|
+
}
|
|
12903
12908
|
if (this.element.tagName !== 'TEXTAREA') {
|
|
12904
12909
|
this.element.setAttribute('type', this.type);
|
|
12905
12910
|
}
|
|
@@ -13194,6 +13199,10 @@ let TextBox = class TextBox extends Component {
|
|
|
13194
13199
|
this.preventChange = false;
|
|
13195
13200
|
this.trigger('change', eventArgs);
|
|
13196
13201
|
this.previousValue = this.value;
|
|
13202
|
+
//EJ2CORE-738:For this task we update the textarea value to the input when input tag with multiline is present
|
|
13203
|
+
if (this.element.tagName === 'INPUT' && this.multiline && Browser.info.name === 'mozilla') {
|
|
13204
|
+
this.element.value = this.respectiveElement.value;
|
|
13205
|
+
}
|
|
13197
13206
|
}
|
|
13198
13207
|
bindClearEvent() {
|
|
13199
13208
|
if (this.showClearButton && this.respectiveElement.tagName !== 'TEXTAREA') {
|