Skip to content

Commit

Permalink
feat(mudblazor): use new MudValidationMessage
Browse files Browse the repository at this point in the history
Refs: BLOCKLY-T-2
  • Loading branch information
SonicGD committed Jan 19, 2022
1 parent caf7522 commit 4952893
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
LeftText="@LocalizationProvider["Move left"]"
RightText="@LocalizationProvider["Move right"]">
</MudFilesUpload>
<MudBlockValidationMessage BlockForm="this"></MudBlockValidationMessage>
<MudValidationMessage FieldIdentifier="FieldIdentifier"></MudValidationMessage>
</MudItem>
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
LeftText="@LocalizationProvider["Move left"]"
RightText="@LocalizationProvider["Move right"]">
</MudFilesUpload>
<MudBlockValidationMessage BlockForm="this"></MudBlockValidationMessage>
<MudValidationMessage FieldIdentifier="FieldIdentifier"></MudValidationMessage>
</MudItem>
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<MudGrid>
<MudItem xs="12">
<CKEditor Config="FormOptions.CKEditorConfig" Placeholder="@LocalizationProvider["Quote text"]" @bind-Value="Block.Text"></CKEditor>
<MudBlockValidationMessage BlockForm="this"></MudBlockValidationMessage>
<MudValidationMessage FieldIdentifier="FieldIdentifier"></MudValidationMessage>
</MudItem>

<MudItem md="4" xs="12">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@inherits TextBlockForm<MudBlazorBlocklyFormOptions>
<MudItem>
<CKEditor Config="FormOptions.CKEditorConfig" TextareaClass="ant-input" Placeholder="@LocalizationProvider["Block content"]" @bind-Value="Block.Text"></CKEditor>
<MudBlockValidationMessage BlockForm="this"></MudBlockValidationMessage>
<MudValidationMessage FieldIdentifier="FieldIdentifier"></MudValidationMessage>
</MudItem>
19 changes: 0 additions & 19 deletions src/Sitko.Blockly.MudBlazor/Forms/MudBlockValidationMessage.razor

This file was deleted.

0 comments on commit 4952893

Please sign in to comment.