@plusscommunities/pluss-core-web 1.1.13 → 1.1.14

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/index.cjs.js CHANGED
@@ -4810,9 +4810,7 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
4810
4810
  return _this.props.handleFile(file, newInputs);
4811
4811
 
4812
4812
  case 9:
4813
- _this.setState({
4814
- uploadingFile: false
4815
- });
4813
+ _this.checkSetDisplayValue(input, '');
4816
4814
 
4817
4815
  _context.next = 24;
4818
4816
  break;
package/dist/index.esm.js CHANGED
@@ -4783,9 +4783,7 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
4783
4783
  return _this.props.handleFile(file, newInputs);
4784
4784
 
4785
4785
  case 9:
4786
- _this.setState({
4787
- uploadingFile: false
4788
- });
4786
+ _this.checkSetDisplayValue(input, '');
4789
4787
 
4790
4788
  _context.next = 24;
4791
4789
  break;
package/dist/index.umd.js CHANGED
@@ -4786,9 +4786,7 @@
4786
4786
  return _this.props.handleFile(file, newInputs);
4787
4787
 
4788
4788
  case 9:
4789
- _this.setState({
4790
- uploadingFile: false
4791
- });
4789
+ _this.checkSetDisplayValue(input, '');
4792
4790
 
4793
4791
  _context.next = 24;
4794
4792
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-core-web",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "Core extension package for Pluss Communities platform",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -152,7 +152,7 @@ class FileInputComponent extends Component {
152
152
  this.checkRefreshCallback(newInputs);
153
153
  if (this.props.handleFile) {
154
154
  await this.props.handleFile(file, newInputs);
155
- this.setState({ uploadingFile: false });
155
+ this.checkSetDisplayValue(input, '');
156
156
  } else {
157
157
  try {
158
158
  let uploadFile = file;