Closed intervalia closed 3 months ago
Describe the bug If the developer does not provide valid formatting for a $switch="" value then a null exception is thrown.
$switch=""
To Reproduce Add something like the following to your template: <div $switch="varName" /> instead of a valid format <div $switch="varName:10,20" />
<div $switch="varName" />
<div $switch="varName:10,20" />
Expected behavior No exception but a valid error message
Is fixed in the next version
Describe the bug If the developer does not provide valid formatting for a
$switch=""
value then a null exception is thrown.To Reproduce Add something like the following to your template:
<div $switch="varName" />
instead of a valid format<div $switch="varName:10,20" />
Expected behavior No exception but a valid error message