-
+
- @if (renderBatch.IsValid)
- {
+ @if (renderBatchValidated is not null)
+ {
+
-
@if (ViewModelDisplayOptions.IncludeGutterComponent)
{
@@ -71,34 +78,35 @@
IncludeContextMenuHelperComponent="ViewModelDisplayOptions.IncludeContextMenuHelperComponent"
AutoCompleteMenuRenderFragmentOverride="ViewModelDisplayOptions.AutoCompleteMenuRenderFragmentOverride" />
- @if (renderBatch.ViewModel!.ShowCommandBar)
+ @if (renderBatchValidated.ViewModel.ShowCommandBar)
{
}
+
+ }
+ else
+ {
+ if (renderBatch.Model is null)
+ {
+
The @nameof(TextEditorModel) was null
}
- else
+ else if (renderBatch.ViewModel is null)
{
- if (renderBatch.Model is null)
- {
-
The @nameof(TextEditorModel) was null
- }
- else if (renderBatch.ViewModel is null)
- {
-
The @nameof(TextEditorViewModel) was null
- }
- else if (renderBatch.Options is null)
- {
-
The @nameof(TextEditorOptions) was null
- }
+
The @nameof(TextEditorViewModel) was null
+ }
+ else if (renderBatch.Options is null)
+ {
+
The @nameof(TextEditorOptions) was null
}
-
-
- @if (renderBatch.IsValid && ViewModelDisplayOptions.IncludeFooterHelperComponent)
- {
-