conexys-elements 1.1.27 → 1.1.28

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.js CHANGED
@@ -4295,7 +4295,8 @@ function AppFormFieldsFromConfig({
4295
4295
  pattern: block.pattern || block.validate && block.validate.pattern
4296
4296
  },
4297
4297
  showPasswordToggle: block.showPasswordToggle,
4298
- items: block.items || []
4298
+ items: block.items || [],
4299
+ accept: block.accept
4299
4300
  }, nouser || 'user')));
4300
4301
  }
4301
4302
 
@@ -10705,6 +10706,7 @@ const InputFile = ({
10705
10706
  if (source === 'drop') {
10706
10707
  updateInputFile(file);
10707
10708
  }
10709
+ block.onChange?.(file);
10708
10710
  }
10709
10711
  };
10710
10712
  const handleFileChange = event => {
@@ -10754,6 +10756,7 @@ const InputFile = ({
10754
10756
  if (input) {
10755
10757
  input.value = '';
10756
10758
  }
10759
+ block.onChange?.(null);
10757
10760
  };
10758
10761
  const handleClick = e => {
10759
10762
  if (e.target.closest('.uploaded-row') || e.target.closest('img')) {