Skip to content

[6.x] Addon settings' fields' default can't parse antlers #12860

@edalzell

Description

@edalzell

Bug description

I have a addon setting timezone:

Image

I was hoping that the default could parse antlers and the config, but the above doesn't work:

Image

How to reproduce

  1. have an addon setting field w/ a default w/ antlers:
Image

Logs

Environment

Environment
Application Name: Statamic
Laravel Version: 12.35.1
PHP Version: 8.3.26
Composer Version: 2.8.11
Environment: local
Debug Mode: ENABLED
URL: events.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 1
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.0.0-alpha.14 Solo

Statamic Addons
transformstudios/events: dev-use-settings

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions