What is the difference (in purpose and/or behavior) between a FormControlLabel and an InputLabel in Material-UI (React) version 4+?
See Comparison:
- An InputLabel is a specific kind of FormLabel. It has class MuiInputLabel-root and MuiFormLabel-root applied in the DOM
- A FormLabel only has class MuiInputLabel-root applied and so is not an InputLabel
- An InputLabel component is both a standalone component and is a compositional component inside a TextField.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With