You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was browsing through the ui_base.js code, in order to gain some understanding to fill my knowledge gaps.
But there are a couple of things that are not clear to me:
The defaultHandler for the onSend event has a "value" input parameter is not used. I did not have a look at what this code is supposed to do by default, but it looks like a bug to me.
When there is no passthrough property, in the else statement the message is being send anyway. I might be mistaken, but that looks weird to me. Would be nice if a comment could be added to the code, to explain why this is required.
In the code a few times a defaultHandler is being used, in case the widget itself does not provide a custom handler. But only for the onInput event there is an else statement, so imho it would be more clear for contributors if this else statement code snippet would be wrapped into a defaultHandler function.
Thanks!!
Bart
The text was updated successfully, but these errors were encountered:
so the standard message handler automatically updates enabled, visible and class in the statestore if they are present in the msg. So in third party nodes it is not necessary to maintain those oneself, server side.
so the standard message handler automatically updates enabled, visible and class in the statestore if they are present in the msg. So in third party nodes it is not necessary to maintain those oneself, server side.
Hi guys,
I was browsing through the ui_base.js code, in order to gain some understanding to fill my knowledge gaps.
But there are a couple of things that are not clear to me:
The defaultHandler for the
onSend
event has a "value" input parameter is not used. I did not have a look at what this code is supposed to do by default, but it looks like a bug to me.When there is no passthrough property, in the else statement the message is being send anyway. I might be mistaken, but that looks weird to me. Would be nice if a comment could be added to the code, to explain why this is required.
In the code a few times a defaultHandler is being used, in case the widget itself does not provide a custom handler. But only for the
onInput
event there is an else statement, so imho it would be more clear for contributors if this else statement code snippet would be wrapped into a defaultHandler function.Thanks!!
Bart
The text was updated successfully, but these errors were encountered: