Select Field: Unable to clear a selected value after saving (even though “Define first value as default” is false)

Hi there,

I'm a developer working on an older project that was built around 2020 using the custom types Legacy Builder (not with Slice Machine).

In some custom types, I have select fields with the setting "Define first value as default" set to false. However, with the latest UI changes, authors can no longer clear a value after saving. I think previously, authors were able to pick the placeholder option when the default value setting was set to false.

Is this a bug? Or do I need to go through the select fields and add the first value as a blank string ("") so content authors can change the field value back to a falsy value (or "unselected" in this case)?

Thanks for your help!

Hi @karlyhoffman,

I wasn't able to replicate your issue. Are you able to provide screenshots or a Jam recording of what you mean and what your custom type's select field looks like, so I can see exactly what's happening?

On my end, I'm able to select the placeholder option to clear the selected value, even after saving:

Do you see anything different on yours?

1 Like

Thank you so much!

After comparing the screenshot, I was able to figure out that it was the placeholder field that was causing the issue. The placeholder field was blank (or null), and as soon as I added a placeholder label, the functionality works as expected.

Thanks again for taking the time to help solve this!

1 Like

Wonderful! I'm glad I was able to help :slight_smile: