You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/block-editor/block-list-editor.md
varsettings=Model.SettingsasContentModels.MyElementTypeAliasOfContent; //using as here, fixes CS8600 - Converting null literal or possible null value to non-nullable type.
151
+
varsettings=Model.SettingsasContentModels.MyElementTypeAliasOfContent; //Cast Model.Settings safely using 'as' to avoid null reference exceptions
152
152
}
153
153
154
154
@{ // Output the value of field with alias 'heading' from the Element Type selected as Content section }@
0 commit comments