mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Display conditions - Implemented most of static input
This commit is contained in:
1 parent
f944a675f1
commit
7af70e9ba4
14 files changed
+248
-30
No files matched your search
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Artemis.Core.Plugins.Abstract.DataModels.Attributes;
|
||||
using Artemis.Core.Plugins.Abstract.DataModels.Attributes;
|
||||
using Artemis.UI.Shared.DataModelVisualization;
|
||||
|
||||
namespace Artemis.UI.DataModelVisualization.Input
|
||||
@@ -11,5 +8,11 @@ namespace Artemis.UI.DataModelVisualization.Input
|
||||
public StringDataModelInputViewModel(DataModelPropertyAttribute description, string initialValue) : base(description, initialValue)
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnSubmit()
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(InputValue))
|
||||
InputValue = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user