Open caseydwyer opened 2 years ago
I saw this also happens with for example a regular Text field with a default value. If you clear and save that, the default value is reapplied. I wonder if this is the intended behaviour for fields with a default value?
I saw this also happens with for example a regular Text field with a default value. If you clear and save that, the default value is reapplied. I wonder if this is the intended behaviour for fields with a default value?
Good find; sounds like field type doesn't really matter here.
It definitely makes sense when initially creating an entry...but the "reapplication" of the default—when editing an existing record—feels like a bug to me.
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
Logs
No response
Versions
Installation
Fresh statamic/statamic site via CLI
Additional details
No response