EvolvedWeb / evowc

Evolved Web Components
MIT License
8 stars 0 forks source link

Null exception thrown for invalid $switch formatting #87

Closed intervalia closed 3 months ago

intervalia commented 3 months ago

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

intervalia commented 3 months ago

Is fixed in the next version