All or some field
v0.64.0, changelogBeta"All, including future ones" or "only these" with a checklist, for an entitlement such as licensed modules.
API reference
Generated from the types. Every part also takes className.
AllOrSomeField
- optionsrequired
readonly AllOrSomeOption[]- valuerequired
readonly string[] | nullnullis all, including future ones; an array is exactly these (empty is none).- onValueChangerequired
(value: string[] | null) => void- legendrequired
ReactNode- hint
ReactNode- error
ReactNode- allDisabledReason
stringWhy "all" cannot be chosen here (a limit above the viewer's); it shows disabled with this reason.- disabled
boolean- labels
Partial<AllOrSomeFieldLabels>