-
-
Notifications
You must be signed in to change notification settings - Fork 607
Open
Description
Bug description
When updating an entry with a clearable Select field, the default value is "reapplied" the next time you load the edit page via CP. So if you go in and update some other part of an Entry, you'll unintentionally/unknowingly update the Select field's value to whatever the default is.
How to reproduce
- Create a Collection
- On the Blueprint, add a Select field that's both Clearable and has a Default Value
- Create a new Entry for the Collection
- Observe the default value is entered on the Create screen
- Clear the default value and save the Entry
- Check the Entry's MD as a sanity-check (ie, to verify the Select's value is empty)
- Reload the Entry's edit page in CP
- Check the Select field; the default value has been "silently reapplied"
Logs
No response
Versions
Statamic 3.2.24 Pro
Laravel 8.73.2
PHP 7.4.3
arckinteractive/statamic-bard-font-size 1.0.0
doublethreedigital/duplicator 2.0.1
jonassiewertsen/statamic-livewire 2.7.0
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels