Bug Setting Optional Icon Params In Custom Widgets.

Hello everyone!

So I think I found a bug that's been stopping me from proceeding in development and I would like if there is any workarounds in the meantime or if there is an upcoming fix.

Basically, when declaring a parameter in a custom widget and set it as a nullable icon (i.e. in code it'll be 'Widget?'), it still requires me to pass the parameter! I tried it in a brand new custom widget, new project, refreshed it, etc with no hope.

For example let's say we declare option(num)Icon as an optional icon:

I would still get:

Any help would be appreciated!

1
6 replies