@syncfusion/ej2-inputs 27.1.58 → 27.2.4
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.min.js +2 -2
- 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 +14 -4
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +14 -4
- 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 +9 -9
- package/src/numerictextbox/numerictextbox.js +4 -2
- package/src/textarea/textarea.js +1 -1
- package/src/textbox/textbox.js +1 -1
- package/src/uploader/uploader.js +8 -0
|
@@ -1843,8 +1843,10 @@ let NumericTextBox = class NumericTextBox extends Component {
|
|
|
1843
1843
|
this.setElementValue(elementValue);
|
|
1844
1844
|
attributes(this.element, { 'aria-valuenow': value });
|
|
1845
1845
|
this.hiddenInput.value = this.value.toString();
|
|
1846
|
-
if (this.
|
|
1847
|
-
this.
|
|
1846
|
+
if (!isNullOrUndefined(this.hiddenInput)) {
|
|
1847
|
+
if (this.value !== null && this.serverDecimalSeparator) {
|
|
1848
|
+
this.hiddenInput.value = this.hiddenInput.value.replace('.', this.serverDecimalSeparator);
|
|
1849
|
+
}
|
|
1848
1850
|
}
|
|
1849
1851
|
}
|
|
1850
1852
|
else {
|
|
@@ -10598,6 +10600,9 @@ let Uploader = class Uploader extends Component {
|
|
|
10598
10600
|
chunkSize: this.asyncSettings.chunkSize
|
|
10599
10601
|
};
|
|
10600
10602
|
this.abortUpload(metaData, custom, eventArgs);
|
|
10603
|
+
if (this.sequentialUpload) {
|
|
10604
|
+
this.uploadSequential();
|
|
10605
|
+
}
|
|
10601
10606
|
}
|
|
10602
10607
|
abortUpload(metaData, custom, eventArgs) {
|
|
10603
10608
|
if (metaData.file.statusCode !== '4') {
|
|
@@ -10968,6 +10973,8 @@ let Uploader = class Uploader extends Component {
|
|
|
10968
10973
|
};
|
|
10969
10974
|
this.trigger('beforeUpload', eventArgs, (eventArgs) => {
|
|
10970
10975
|
if (!eventArgs.cancel) {
|
|
10976
|
+
this.customFormDatas = (eventArgs.customFormData && eventArgs.customFormData.length > 0) ?
|
|
10977
|
+
eventArgs.customFormData : this.customFormDatas;
|
|
10971
10978
|
this.uploadFiles(uploadFiles, custom);
|
|
10972
10979
|
}
|
|
10973
10980
|
});
|
|
@@ -11071,6 +11078,9 @@ let Uploader = class Uploader extends Component {
|
|
|
11071
11078
|
if (eventArgs.cancel) {
|
|
11072
11079
|
this.eventCancelByArgs(e, eventArgs, selectedFiles[i]);
|
|
11073
11080
|
}
|
|
11081
|
+
if (this.customFormDatas && this.customFormDatas.length > 0) {
|
|
11082
|
+
this.updateFormData(formData, this.customFormDatas);
|
|
11083
|
+
}
|
|
11074
11084
|
this.updateFormData(formData, eventArgs.customFormData);
|
|
11075
11085
|
});
|
|
11076
11086
|
};
|
|
@@ -13876,7 +13886,7 @@ let TextBox = class TextBox extends Component {
|
|
|
13876
13886
|
const prevOnChange = this.isProtectedOnChange;
|
|
13877
13887
|
this.isProtectedOnChange = true;
|
|
13878
13888
|
this.value = value;
|
|
13879
|
-
if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input')) {
|
|
13889
|
+
if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input') && !(this.floatLabelType === 'Always' && this.textboxWrapper.container.classList.contains('e-outline'))) {
|
|
13880
13890
|
this.textboxWrapper.container.classList.remove('e-valid-input');
|
|
13881
13891
|
}
|
|
13882
13892
|
this.isProtectedOnChange = prevOnChange;
|
|
@@ -14809,7 +14819,7 @@ let TextArea = class TextArea extends Component {
|
|
|
14809
14819
|
const prevOnChange = this.isProtectedOnChange;
|
|
14810
14820
|
this.isProtectedOnChange = true;
|
|
14811
14821
|
this.value = value;
|
|
14812
|
-
if (value == null && this.textareaWrapper.container.classList.contains('e-valid-input')) {
|
|
14822
|
+
if (value == null && this.textareaWrapper.container.classList.contains('e-valid-input') && !(this.floatLabelType === 'Always' && this.textareaWrapper.container.classList.contains('e-outline'))) {
|
|
14813
14823
|
this.textareaWrapper.container.classList.remove('e-valid-input');
|
|
14814
14824
|
}
|
|
14815
14825
|
this.isProtectedOnChange = prevOnChange;
|