diff --git a/ANAConversationPlatform/Models/Button.cs b/ANAConversationPlatform/Models/Button.cs index c2d42f9..0d3092a 100644 --- a/ANAConversationPlatform/Models/Button.cs +++ b/ANAConversationPlatform/Models/Button.cs @@ -26,6 +26,7 @@ public Button(string id = "", string buttonName = "", string buttonText = "", Em public bool DefaultButton { get; set; } = false; public bool Hidden { get; set; } public string VariableValue { get; set; } = null; + public bool ConfirmInput { get; set; } public string PrefixText { get; set; } = null; public string PostfixText { get; set; } = null; public string PlaceholderText { get; set; } = null; diff --git a/ANAConversationSimulator/Models/Chat/Button.cs b/ANAConversationSimulator/Models/Chat/Button.cs index f01f2c4..de7a8ac 100644 --- a/ANAConversationSimulator/Models/Chat/Button.cs +++ b/ANAConversationSimulator/Models/Chat/Button.cs @@ -21,6 +21,7 @@ public Button() { } public bool Hidden { get; set; } public string VariableValue { get; set; } = null; public string PlaceholderText { get; set; } + public bool ConfirmInput { get; set; } public string PrefixText { get; set; } public string PostfixText { get; set; } diff --git a/ANAConversationStudio/Models/Chat/Button.cs b/ANAConversationStudio/Models/Chat/Button.cs index 5d5c54d..3d4e391 100644 --- a/ANAConversationStudio/Models/Chat/Button.cs +++ b/ANAConversationStudio/Models/Chat/Button.cs @@ -162,6 +162,20 @@ public string PlaceholderText } } + private bool _ConfirmInput; + public bool ConfirmInput + { + get { return _ConfirmInput; } + set + { + if (_ConfirmInput != value) + { + _ConfirmInput = value; + OnPropertyChanged(); + } + } + } + public override string ToString() { return Tag;