Closed samtrion closed 6 months ago
I think the current behaviour is fine. The default
value is supposed to be applied only to a new entry, and it seems working as expected. Changing existing entries is rather confusing, even if the value is not set.
Since the data source is static files in a Git repository, and those files could be updated by any means other than the CMS UI, data consistency cannot be guaranteed. It’s a limitation of Git-based CMSes.
Based on the following configuration, when I create a new Site or open a Page with explicit set value for
heroAnchor
is everything fine.However, when I open a page where
heroAnchor
has not been used previously, thedefault
value is not applied correctly. For the sake of data consistency, an update to the stored data should be offered in this case.