Skip to content

Default "Is audio?" to true in admin form #43

@yepzdk

Description

@yepzdk

Description

mediaIsAudio defaults to true in the entity (src/Entity/PointOfInterest.php:98), but the admin form should explicitly show this pre-checked for new POIs.

Implementation

Update the BooleanField in src/Controller/Admin/PointOfInterestCrudController.php to ensure the default value is reflected in the admin form when creating new Points of Interest.

Part of #35

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions