diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eee0d59..f8af1515 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ +# 6.2.0 (master) +- Feat: #433 (File input append mode) + # 6.1.1 (master) - Fix: #624 (default() helpers) + # 6.1.0 (master) - Introduced `fallbackValue` and `retrieveNullifiedEmptyStrings` form options. - Fix: `get()` strict mode improved diff --git a/src/Field.ts b/src/Field.ts index 4fa12c47..8a063433 100755 --- a/src/Field.ts +++ b/src/Field.ts @@ -482,7 +482,10 @@ export default class Field extends Base implements FieldInterface { files = _.map(e.target.files); } - this.files = files || args; + this.files = [ + ..._.map(this.files), + ...(files || args) + ]; }) );