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
{{ message }}
This repository was archived by the owner on Oct 29, 2019. It is now read-only.
In the file value_block.js the variable args[j][1] is cloned when it is a Blockly.FieldDropdown.
In my tests args[j][1].clone(); always retuned the error Uncaught TypeError: args[j][1].clone is not a function
Any attempts to clone it manually or via Json didn't worked.
In the android version there is a clone function which is missing in the javascript version. To bypass this a new object can be generated with the constructor var dd=new Blockly.FieldDropdown(args[j][1].menuGenerator_,args[j][1].changeHandler_);.