Is there a way to give a Semantic UI React Dropdown the html “name” attribute so it will behave like a normal input element on a form submit?

后端 未结 0 1934
轻奢々
轻奢々 2020-11-28 01:55

For normal html elements you can get the value of that element through a form.

 function handleSubmit(event) {
    event.preventDefault()
    const formData =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题