From 9b772b30ddfaac32449b4b0aeaabceff48e8d9a1 Mon Sep 17 00:00:00 2001 From: IX-BOT <137874481+IX-BOT@users.noreply.github.com> Date: Wed, 16 Aug 2023 08:33:04 +0200 Subject: [PATCH] [BUG] Can't edit values of inspectors in ShadowControl mode (#168) * Create draft PR for #167 * now body of inspectors are editable based on presentation type --------- Co-authored-by: Specter-13 Co-authored-by: Specter-13 <56168909+Specter-13@users.noreply.github.com> Co-authored-by: Peter Kurhajec <61538034+PTKu@users.noreply.github.com> --- .../GenericInspectorDataView.razor | 18 ++++++++++++------ .../InspectorViewTemplate.razor | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/inspectors/src/AxOpen.Inspectors.Blazor/GenericInspectorDataView.razor b/src/inspectors/src/AxOpen.Inspectors.Blazor/GenericInspectorDataView.razor index 824a3452d..b2ec3a754 100644 --- a/src/inspectors/src/AxOpen.Inspectors.Blazor/GenericInspectorDataView.razor +++ b/src/inspectors/src/AxOpen.Inspectors.Blazor/GenericInspectorDataView.razor @@ -3,12 +3,15 @@
-
- - -@* - *@ + @if (Presentation != "ShadowControl") + { +
+ + + +
+ }
@@ -16,7 +19,10 @@
- + @if (Presentation != "ShadowControl") + { + + }
diff --git a/src/inspectors/src/AxOpen.Inspectors.Blazor/InspectorViewTemplate.razor b/src/inspectors/src/AxOpen.Inspectors.Blazor/InspectorViewTemplate.razor index 3f79365c1..1b04763b5 100644 --- a/src/inspectors/src/AxOpen.Inspectors.Blazor/InspectorViewTemplate.razor +++ b/src/inspectors/src/AxOpen.Inspectors.Blazor/InspectorViewTemplate.razor @@ -70,7 +70,7 @@
- +