Share the ui:enumDisabled check across themes, and honor it in daisyui's Checkboxes/Radio widgets
Follow-up from #5383 (review by @heath-freenome).
Duplication. The ui:enumDisabled check Array.isArray(enumDisabled) && enumDisabled.some((disabledValue) => disabledValue === option.value) is copied into every theme's Checkboxes, Radio and Select widget (17 copies), while groupEnumOptions() in @rjsf/utils already computes the same disabled flag for each option. The widgets that render a flat option list could share one helper (or read the flag groupEnumOptions() produces) instead.
daisyui. daisyui's CheckboxesWidget and RadioWidget never read ui:enumDisabled, so the options it lists stay enabled there, unlike in every other theme. Its SelectWidget does honor it.
Neither is a regression from #5383, which only changed includes() to some(===) because EnumOptionsType.value became unknown.
Generated with Claude Code
Source: rjsf-team/react-jsonschema-form