@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.
@@ -9011,15 +9011,17 @@ let Uploader = class Uploader extends Component {
9011
9011
  fileList.classList.add(INVALID_FILE);
9012
9012
  }
9013
9013
  createFormInput(fileData) {
9014
- const inputElement = this.element.cloneNode(true);
9015
- inputElement.classList.add(HIDDEN_INPUT);
9016
- for (const listItem of fileData) {
9017
- listItem.input = inputElement;
9018
- }
9019
- inputElement.setAttribute('name', this.uploaderName);
9020
- this.uploadWrapper.querySelector('.' + INPUT_WRAPPER).appendChild(inputElement);
9021
- if (this.browserName !== 'msie' && this.browserName !== 'edge') {
9022
- this.element.value = '';
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') {