TeamWertarbyte / material-ui-chip-input

A chip input field using Material-UI.
https://mui.wertarbyte.com/#material-ui-chip-input
MIT License
737 stars 208 forks source link

Should ChipInput component be wrapped by Form tag ? #366

Open Na-hyunwoo opened 1 year ago

Na-hyunwoo commented 1 year ago

I have a question about your code ChipInput.js

스크린샷 2022-12-09 오후 3 50 16

In the code, the children component like InputLabel is wrapped by FormControl made by material-ui.

I knew mdn define form like below.

The <form> HTML element represents a document section containing interactive controls for submitting information.

The important part is "for submitting information".

I think combination of input should be wrapped by form tag not the single ChipInput.

I want to know what do you think about this question.