Conditions UI - Open dropdowns automatically when editing static values

Conditions UI - Added missing defaults for enum/bool
Data models - Use enum descriptions in display
This commit is contained in:
SpoinkyNL committed 2020-10-17 11:36:00 +02:00
1 parent 7ccfe775fd
commit ceccc7ceec
9 files changed
+23 -34

No files matched your search

@@ -58,7 +58,7 @@ namespace Artemis.Core.DataModelExpansions
/// <param name="key">The key of the child, must be unique to this data model</param>
/// <param name="name">An optional name, if not provided the key will be used in a humanized form</param>
/// <param name="description">An optional description</param>
public DataModel AddDynamicChild(DataModel dynamicDataModel, string key, string name = null, string description = null)
public T AddDynamicChild<T>(T dynamicDataModel, string key, string name = null, string description = null) where T : DataModel
{
if (dynamicDataModel == null)
throw new ArgumentNullException(nameof(dynamicDataModel));