From 31f5f81fff27e3f08798367fd561cecd4b55950f Mon Sep 17 00:00:00 2001 From: ckitsanelis Date: Fri, 29 Sep 2023 10:57:52 +0200 Subject: [PATCH] Show that naming an annotation is required --- src/viewer/rules/Dialogs/FlagsDialog.tsx | 1 + src/viewer/rules/Dialogs/StatesDialog.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/viewer/rules/Dialogs/FlagsDialog.tsx b/src/viewer/rules/Dialogs/FlagsDialog.tsx index 05b4fd8..7dac8b9 100644 --- a/src/viewer/rules/Dialogs/FlagsDialog.tsx +++ b/src/viewer/rules/Dialogs/FlagsDialog.tsx @@ -184,6 +184,7 @@ export default class FlagsDialog extends React.Component { style={{ width: textFieldWidth, marginBottom: "2px" }} value={rule.column} key="Name" + placeholder="Required" onInput={(e) => this.updateRule(rule.setColumn(e.target.value), ruleIndex) } diff --git a/src/viewer/rules/Dialogs/StatesDialog.tsx b/src/viewer/rules/Dialogs/StatesDialog.tsx index 04da64c..d85437c 100644 --- a/src/viewer/rules/Dialogs/StatesDialog.tsx +++ b/src/viewer/rules/Dialogs/StatesDialog.tsx @@ -163,6 +163,7 @@ export default class StatesDialog extends React.Component { style={{ width: textFieldWidth, marginBottom: "2px" }} value={rule.column} key="Name" + placeholder="Required" onInput={(e) => this.updateRule(rule.setColumn(e.target.value), ruleIndex) }