Browse Source

Setting defaults to defaults.

Kenric Nugteren 2 years ago
parent
commit
d8cc2e188c

+ 2 - 2
InABox.Core/DigitalForms/Layouts/Fields/DFLayoutVideoField/DFLayoutVideoFieldProperties.cs

@@ -16,10 +16,10 @@ namespace InABox.Core
         }
 
         [IntegerEditor(ToolTip = "Maximum video length (sec)")]
-        public int MaximumVideoLength { get; set; }
+        public int MaximumVideoLength { get; set; } = 0
 
         [EnumLookupEditor(typeof(VideoQuality))]
-        public VideoQuality Quality { get; set; } = VideoQuality.Low;
+        public VideoQuality Quality { get; set; } = VideoQuality.Default;
 
         public override string FormatValue(object? value)
         {