Skip to content

2.0.7: Add select-type field support to ConfigForm

Choose a tag to compare

@gp247net gp247net released this 14 Jul 22:44
PaypalExpress's admin screen needs order/payment-status dropdowns, but
ConfigForm only rendered bool/number/text/toggle widgets. Added a
fieldOptions() hook and a "select" branch in config-field.blade.php,
purely additive so existing bool/number/text/toggle screens (CacheConfigForm,
GlobalConfigForm, etc.) are unaffected. Kept generic in core per
ui-tailadmin.md P3 so any future plugin needing a status/enum picker can
reuse it instead of hand-rolling a one-off component.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>