ElemeFE / ElemeFE/element-react

Button "form" field not working

Open
#1,025 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

### Description

Having a submit button outside of a form tag isn't working. Normally you can put an ID for a form and then have a submit button using that ID in his "form" attribute.

### Reproduce Steps

1. Create a component having a form and setting an id for the form like
` ... `

2. Put a button outside of the form using the form field like
`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.