FromToToggle throws exception if no To date specified
Closed this issue · 1 comments
Kronos11 commented
I was expecting that this toggle would set some max date toggle if no date was provided. This unfortunately is not the case and it throws an exception.
System.Collections.Generic.KeyNotFoundException: The given key 'To' was not present in the dictionary.
unaizorrilla commented
Well, To is a required parameter and the UI will show a required validation if is not set!
Esquio/src/Esquio/Toggles/FromToToggle.cs
Line 14 in 485b23c
I see your PR to set default DateTime.MaxValue for To parameter, let me some days (I'm on holidays) to checkout and review