Open brettephillips opened 1 year ago
As a workaround, remounting or recreating the submit button will properly wire up form submission. I know this isn't ideal or possible in some cases, but it's one option.
Reallocating to January due to prioritization and staffing availability.
Efforts will be tackled in #8126 first targeted in March, and we will proceed with the following issue post-March.
Actual Behavior
Give a submit or reset button associated with a non-ancestor form, clicking the button does not submit/reset the form. This scenario does not work when the buttons are mounted before the form.
Expected Behavior
Give a submit or reset button associated with a non-ancestor form, clicking the button does submit/reset the form regardless of when the components have been mounted
Reproduction Sample
https://codesandbox.io/s/form-not-working-d5dc70?file=/src/App.js
Reproduction Steps
Reproduction Version
1.2.0
Relevant Info
No response
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Esri team
ArcGIS Velocity