From a67276252c8bfcd6b6c5344e70debc6d67d917a9 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sat, 27 May 2023 00:39:49 +0200 Subject: Been a while since I last committed --- MatrixRoomUtils.Web/Shared/EditablePre.razor | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 MatrixRoomUtils.Web/Shared/EditablePre.razor (limited to 'MatrixRoomUtils.Web/Shared/EditablePre.razor') diff --git a/MatrixRoomUtils.Web/Shared/EditablePre.razor b/MatrixRoomUtils.Web/Shared/EditablePre.razor new file mode 100644 index 0000000..01bea0d --- /dev/null +++ b/MatrixRoomUtils.Web/Shared/EditablePre.razor @@ -0,0 +1,18 @@ +@inherits InputBase +
@CurrentValue
+@code { + protected override bool TryParseValueFromString(string? value, out string result, out string? validationErrorMessage) + { + result = value; + validationErrorMessage = null; + return true; + } + + public object Id { get; set; } + + private async Task Callback() + { + Console.WriteLine("beep"); + } + +} \ No newline at end of file -- cgit 1.5.1