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
ReturnValue is not set to the BUTTON value parameter on form submission.
When we press "Yes" in the following example dialog.close(undefined) is called instead of dialog.close('yes')
<dialogid="dialog"><formmethod="dialog"><p>Do you agree with terms of use?</p><textareaclass="form-control" disabled>Lorem ipsum dolor sit amet,....</textarea><buttontype="submit" value="yes">Yes</button><buttontype="submit" value="no" autofocus>No</button></form></dialog>
Proposed fix: in the submit handler accept either 'INPUT' or 'BUTTON' nodeName.
The text was updated successfully, but these errors were encountered:
ReturnValue is not set to the BUTTON value parameter on form submission.
When we press "Yes" in the following example dialog.close(undefined) is called instead of dialog.close('yes')
Proposed fix: in the submit handler accept either 'INPUT' or 'BUTTON' nodeName.
The text was updated successfully, but these errors were encountered: