Skip to content

Crash on iOS when resetting b-form-file #4837

@davars

Description

@davars

Describe the bug

This line triggers this bug on iOS. Recommend only changing the input type inside the catch since, based on the comments, it is only needed if resetting the value fails.

Steps to reproduce the bug

  1. On iOS, call reset inside the 'input' handler of a b-form-file component.
  2. Observe that the page reloads because WebKit crashed.

Versions

Libraries:

  • BootstrapVue: dev

Environment:

  • Device: iPhone X
  • OS: iOS 13
  • Browser: Safari
  • Version: 13

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions