MUI adapter — all inputs (MUI)
Package: @formzk/mui (also pulls in @formzk/core)
Every pre-wired input shipping with @formzk/mui — plus the TextField you register yourself via the Native.Provider. The components shipped from the adapter are:
Checkbox— single checkbox withvalueKey="checked".CheckboxGroup— multi-select checkboxes bound to an array.RadioGroup— single-value radio list, supports string or numericvalue.Switch— single toggle withvalueKey="checked".Select— dropdown, supports string or numericvalue.
All values flow into a single form state and log on submit. Each input is shown twice where it makes sense — once with the default wrapped layout (FormControl + label), once with the alternative contained layout, so you can compare them side by side.
Loading playground…
What to try
- Mix numeric and string
values inSelect/RadioGroupoptions — both are supported since v1.1. - Change
layoutfrom the defaultwrappedtocontainedon any item to see how the label placement changes. - Add a
caption="extra help"prop to anyFormzk.MUI.Itemto show auxiliary text under the field. - Submit the form and look at the resulting JSON — every value type (string, number, boolean, array) round-trips correctly.