Hello
i've assembled a crude test Dojo JSFiddle Template - JSFiddle of list input. This works flawlessly in jsfiddle but in WAB custom widget the input reports errors.
Has anyone used this cool dojo widget ListInput successfully in WAB developers edition? Or did anyone else get this issue and solved it?
Thank you for the help in advance
Best regards,
Matej
Solved! Go to Solution.
Hello mrs Adri2c
havent had the chance to test since i've used multi select instead for the moment, but what makes your example tick?
the define line 'xstyle/css!https://dojotoolkit.org/scripts/dojo/dojox/form/resources/ListInput.css' ?
I tried basic sample from your example
new ListInput({ | |
name: 'Dynamic', | |
value: "Hello!, it's Dojox!, :)" | |
}, this.listNode); |
and i get a.destroy is not a function
Hi!
Dojox Input List needs this css style. Here getting it using http.
Hm, are you using 'data-dojo-attach-point' instead of 'id' in your html file? Also be careful with the order of imports.
Cheers
i used both ways attach point and regular div. Both provide same result - same error as mentioned above
this is the part of the code
god...i noticed the issue at least the general vicinity of issue. I've extended array with distinct i guess it doesnt like it. I'll check what's going on. Thanks for the sample i marked it as solved and valid!