Vue-formulate: Clear the file input will cause "this.results.filter is not a function"

Created on 17 Oct 2020  路  4Comments  路  Source: wearebraid/vue-formulate

To Reproduce

  1. Go to 'https://vueformulate.com/guide/inputs/types/file/#file-2'
  2. Choose a non-pdf file
  3. Now, remove the file
  4. You will see "TypeError: this.results.filter is not a function"

Screenshots
image

bug

All 4 comments

This is a bummer @tlyau62 I think it's a regression in 2.4.5. Thanks for pointing it out.

Hi, just to add some details to this bug i encountered too:

  • it seems to happen on every file input when uploadBehavior is set to "delayed"
  • after the TypeError, it is possible to select another file, but selecting the same file that was previously deleted doesn't work (the file select system dialog closes, but the file input stays empty)

Hi,
Same issue here in 2.4.4, upload behavior set to "delayed" + single pdf file removed

This is now fixed in the release/2.5.0 branch and has a backing test in the new cypress e2e suite 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OperKH picture OperKH  路  5Comments

bryanbuchs picture bryanbuchs  路  6Comments

titusdecali picture titusdecali  路  4Comments

joaquinwojcik picture joaquinwojcik  路  4Comments

yanielbf picture yanielbf  路  3Comments