Barry Fogarty
10/22/2024, 11:36 AMModel.Value<string>("alias", fallback: Fallback.ToAncestors)
but is there a straightforward way to call ModelsBuilder properties with a fallback parameter? I could change the generated class, but I'm hoping if there's a more permanent option. Incidentally I tried using Model.ValueFor(x => x.Alias, fallback: Fallback.ToAncestors)
as per [the docs](https://docs.umbraco.com/umbraco-cms/fundamentals/design/rendering-content), which would be fine, but it throws an error (when falling back to an ancestor): NotSupportedException: Fallback PublishedValueFallback does not support fallback code '3' at element level.Barry Fogarty
10/22/2024, 3:35 PMpublic virtual decimal BaseFontSize => this.Value<decimal>(_publishedValueFallback, "baseFontSize", fallback: Fallback.ToAncestors);
bielu
10/22/2024, 6:56 PM