magic-script-components icon indicating copy to clipboard operation
magic-script-components copied to clipboard

Accept `undefined` as valid property value.

Open grozdanov opened this issue 5 years ago • 0 comments

In order to simplify the UI declaration by avoiding multiple if/else or switch blocks the property value should accept (and ignore) value of undefined.

There is a risk of silently masking a bug when the undefined value is actually due to a bug. In order to address this situation the framework should print warning message to the console (debug mode only).

grozdanov avatar Nov 26 '19 15:11 grozdanov