payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
https://payloadcms.com
MIT License
27.76k stars 1.72k forks source link

fix(ui): show required indicator for select fields #9348

Closed akhrarovsaid closed 3 days ago

akhrarovsaid commented 3 days ago

What?

Select field was not showing required indicator despite being marked required in config.

Why?

To give end-user feedback when editting required select fields.

How?

Replacing hardcoded required prop with required prop passed in from config.

See here.

PatrikKozak commented 3 days ago

@akhrarovsaid Good find! Thank you!

Will merge this once these tests pass

github-actions[bot] commented 2 days ago

🚀 This is included in version v3.0.1