Skip to content

Commit

Permalink
fix(filepond): also clear style attribute just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Oct 3, 2024
1 parent 503bd6c commit f6e13ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* test: modernization
* fix(filepond): clear field class, fix issues with Bootstrap 4
* fix(filepond): also clear style attribute just in case

## 1.10.2

Expand Down
3 changes: 3 additions & 0 deletions packages/file-filepond/assets/dist/filepond.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ var _default = /*#__PURE__*/function (_Controller) {
// remove input class attribute
input.removeAttribute('class');

// remove input style attribute
input.removeAttribute('style');

// get the files from the data elements and process them
for (var _iterator2 = _createForOfIteratorHelperLoose(this.element.children), _step2; !(_step2 = _iterator2()).done;) {
var _child = _step2.value;
Expand Down
3 changes: 3 additions & 0 deletions packages/file-filepond/assets/src/filepond.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ export default class extends Controller {
// remove input class attribute
input.removeAttribute('class')

// remove input style attribute
input.removeAttribute('style')

// get the files from the data elements and process them
for (const child of this.element.children) {
if (child.tagName !== 'DATA') {
Expand Down

0 comments on commit f6e13ec

Please sign in to comment.