- Issue created by @kostyashupenko
- π«π·France andypost
Not clear what's wrong with it and how you suggest to fix it.
You need to upload media before it can be used as default value, probably you mean to add upload option to default value widget?
- π·πΊRussia kostyashupenko Omsk
It's a bit different behaviors: default value and empty fallback media.
Default value in our case - it is media, which will be pre-filled in media field on form display page. However, you can remove default media on form display page and click "Save". In that case media field will be empty. And no any media will be shown on display page at all. This is what i'm trying to achieve -> to be able to upload empty fallback media in the settings of media field. To always have media (even if media field is empty).We can't mix these behaviors: default value != empty fallback, so you can't use default value for these needs
- π·πΊRussia kostyashupenko Omsk
Here i would like to have one more checkbox "Set media in case of empty field". So absolutely same behavior as for "Image" type field.
Once checkbox is checked -> let's say we should show autocomplete below so we can select empty fallback media (image, or video, whatever else, based on selection of types of media above in the form)
- π«π·France andypost
Default value and fallback (cover) interesting idea, at least for media....need to sleep with it
- π·πΊRussia kostyashupenko Omsk
Well this is how media works now. Site editor currently can just delete default value for media on form display page
- π·πΊRussia kostyashupenko Omsk
Bump.
Issue summary was completely reworked.