|
@@ -7,12 +7,12 @@ namespace InABox.Core
|
|
|
{
|
|
|
public class DFLayoutMultiSignaturePadProperties : DFLayoutFieldProperties<Dictionary<string, byte[]>>
|
|
|
{
|
|
|
- public override string FormatValue(object value)
|
|
|
+ public override string FormatValue(object? value)
|
|
|
{
|
|
|
return value != null ? "Yes" : "";
|
|
|
}
|
|
|
|
|
|
- public override object? ParseValue(object value)
|
|
|
+ public override object? ParseValue(object? value)
|
|
|
{
|
|
|
if (value is Dictionary<string, byte[]> dict)
|
|
|
return dict;
|
|
@@ -24,7 +24,7 @@ namespace InABox.Core
|
|
|
{
|
|
|
if (Guid.TryParse(str, out var id))
|
|
|
{
|
|
|
- return new List<byte[]>();
|
|
|
+ return new Dictionary<string, byte[]>();
|
|
|
}
|
|
|
values = Serialization.Deserialize<Dictionary<string, string>>(str);
|
|
|
}
|