You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling form reset after saving throws an exception: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
that refers to ...definitions/behaviors/form.js?:178:22
which is in this case $field.val(defaultValue);
Possible solution
The method should probably check for file input and set an empty string for it instead of the default value to prevent this error.
The text was updated successfully, but these errors were encountered:
SUI: v. 2.4.2
Browser: Chrome
Description
Calling form reset after saving throws an exception:
Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
that refers to
...definitions/behaviors/form.js?:178:22
which is in this case
$field.val(defaultValue);
Possible solution
The method should probably check for file input and set an empty string for it instead of the default value to prevent this error.
The text was updated successfully, but these errors were encountered: