|
|
|
|
|
by tenaciousDaniel
2237 days ago
|
|
Converting a tree-like structure into a nested form inputs. Material seems to be rather opinionated about what a "form" is, and I found it too constricting for my needs. More specifically, the TextField component assumes an accompanying label, while none of the other form components do. It seems like a very odd choice to me, since all form elements should have a descriptive label. |
|
The demo page for Checkbox (https://material-ui.com/components/checkboxes/) shows how to use them with labels, and also groups.
Agreed there should be something included for CheckboxWithLabel, but to think it's impossible and the whole thing must be thrown out is a bit much.