Imagebutton component setValue function will throw an error:
“Cannot set property ‘value’ of undefined”
Imagebutton template does not use an ‘input’ html element so when the function _setValue routine executes at line 5774, the getInput() will return null and then throw the error.
One suggestion to solve this error would be to not user the ‘button’ routines and override them witha _setValue (and also a _getValue for consistency) in the ‘imagebutton’ component. Starting at line 5925 the code:
this._settings.label = label?label:"";
Will solve the issue.