[calcite-input]: file type emits "Failed to set the 'value' property" error #9319
Labels
0 - new
New issues that need assignment.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
calcite-components-react
Issues specific to the @esri/calcite-components-react package.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
needs triage
Planning workflow - pending design/dev review.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Check existing issues
Actual Behavior
When the file type calcite-input has the 'name' attribute and is inside a form, it emits this error:
So when the form is submitted, file value is null.
Expected Behavior
The calcite-input should not emit the error and on form submission the value shoud be read correctly.
Reproduction Sample
https://codesandbox.io/p/devbox/calcite-input-file-8yqp3n?file=%2Fsrc%2FApp.jsx%3A1%2C14File is not accessiblehttps://codepen.io/djha1999/pen/OJYPeqR _Added from
BUG-000167528
Reproduction Steps
4. Click on the submit button5. The empty value is displayed in the console.Reproduction Version
2.8.0
Relevant Info
Was also submitted as
BUG-000167528
, accepted on 5/17/2024Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Calcite package
Esri team
N/A
The text was updated successfully, but these errors were encountered: