Placeholder text does not appear for NULL values

In this infolist I've got two fields: TextEntry::make('name')->placeholder('Not Completed'), TextEntry::make('gender')->placeholder('Not Completed') When the varchar name is set as EMPTY in the postgresql DB then the placeholder appears ok. However when the enum gender is set as NULL in the DB the placeholder does not appear.
2 Replies
toeknee
toeknee8mo ago
->nullable() ?
urbycoz
urbycoz8mo ago
Make the field nullable in the database?