Skip to content

Commit 202496e

Browse files
committed
Add default prevalue for min and max number to avoid Umbraco warning in log
1 parent 6e5f7bc commit 202496e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/RJP.MultiUrlPicker/MultiUrlPickerPropertyEditor.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace RJP.MultiUrlPicker
1+
namespace RJP.MultiUrlPicker
22
{
33
using System;
44
using System.Collections.Generic;
@@ -34,6 +34,8 @@ public MultiUrlPickerPropertyEditor()
3434
{
3535
_defaultPreValues = new Dictionary<string, object>
3636
{
37+
{"minNumberOfItems", null},
38+
{"maxNumberOfItems", null},
3739
{"version", Information.Version.ToString(3)},
3840
};
3941
}

0 commit comments

Comments
 (0)