Can't clear text in text input node of mdashboard

I am using node-red-contrib-mdashboard (this is not the standard Node-RED dashboard !)

Problem:
I want to clear my text input by clicking on a button that is sending an empty string as payload to this text input node. This is not working: the text input remains unchanged.

Note that

  • it is working when using the standard dashboard (node-red-contrib-dashboard).
  • it is working when sending a non-empty string as payload - in that case it is properly showing the non-empty string in the text input node.

Here below the flow used to demonstrate that it is NOT working for mdashboard and that it is working for dashboard.

[{"id":"8423eea0.2d2ba","type":"tab","label":"test","disabled":false,"info":""},{"id":"c0cbf274.47008","type":"ui_text_input","z":"8423eea0.2d2ba","name":"","label":"text input","tooltip":"","group":"5349d8fd.33e738","order":0,"width":0,"height":0,"passthru":true,"mode":"text","delay":300,"topic":"","x":600,"y":120,"wires":[["9daff6c2.67f038"]]},{"id":"3c66aaf1.e0c206","type":"debug","z":"8423eea0.2d2ba","name":"input","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":520,"y":60,"wires":[]},{"id":"9daff6c2.67f038","type":"debug","z":"8423eea0.2d2ba","name":"output","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":750,"y":120,"wires":[]},{"id":"8b3b8a56.59d1b8","type":"ui_button","z":"8423eea0.2d2ba","name":"","group":"5349d8fd.33e738","order":1,"width":0,"height":0,"passthru":false,"label":"clear text input","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":160,"y":120,"wires":[["f3342fcb.4d7c3"]]},{"id":"f3342fcb.4d7c3","type":"change","z":"8423eea0.2d2ba","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":120,"wires":[["c0cbf274.47008","3c66aaf1.e0c206"]]},{"id":"aa47aba4.e61c58","type":"mui_button","z":"8423eea0.2d2ba","name":"","group":"9d7e374f.d57898","order":1,"width":0,"height":0,"passthru":false,"label":"clear text input","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":160,"y":260,"wires":[["2125de8a.722392"]]},{"id":"2125de8a.722392","type":"change","z":"8423eea0.2d2ba","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":260,"wires":[["75141bde.bd3c84","7945baf1.0be624"]]},{"id":"75141bde.bd3c84","type":"mui_text_input","z":"8423eea0.2d2ba","name":"","label":"","tooltip":"","group":"9d7e374f.d57898","order":2,"width":0,"height":0,"passthru":true,"mode":"text","delay":300,"topic":"","x":600,"y":260,"wires":[["74133440.d1a2ec"]]},{"id":"74133440.d1a2ec","type":"debug","z":"8423eea0.2d2ba","name":"mOutput","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":780,"y":260,"wires":[]},{"id":"7945baf1.0be624","type":"debug","z":"8423eea0.2d2ba","name":"mInput","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":540,"y":200,"wires":[]},{"id":"6b11f0cd.23dfa","type":"comment","z":"8423eea0.2d2ba","name":"clear text working using dashboard","info":"","x":220,"y":40,"wires":[]},{"id":"99b2d318.336d6","type":"comment","z":"8423eea0.2d2ba","name":"clear text NOT working using mdashboard","info":"","x":240,"y":200,"wires":[]},{"id":"5349d8fd.33e738","type":"ui_group","z":"","name":"group","tab":"d8333294.beb26","order":1,"disp":true,"width":"6","collapse":false},{"id":"9d7e374f.d57898","type":"mui_group","z":"","name":"mGroup","tab":"2f97ace9.adedd4","order":1,"disp":true,"width":"6","collapse":false},{"id":"d8333294.beb26","type":"ui_tab","z":"","name":"tab","icon":"dashboard","order":3,"disabled":false,"hidden":false},{"id":"2f97ace9.adedd4","type":"mui_tab","z":"","name":"mTab","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

You'll probably have to contact the author of mdashboard - I don't know if they are on this forum.

Thanks for the advice - I have created issue: