dijit form controls in custom widget

Does anyone has example of using dijit form controls like textbox, radiobutton etc inside custom widget? I did not find any proper documentation around and kind of struggling. I added below libraries dojo.require("dijit.dijit"); dojo.require("dijit.form.TextBox"); dojo.require("dojo.parser"); dojo.require("dojo.domReady!"); and below code in template <input type="text" name="firstname" value="testing testing" data-dojo-type="dijit/form/TextBox" data-dojo-props="trim:true, propercase:true" id="firstname"/> but it does not work. It displays textbox but doesn't work as intend to work. Any help would be appreciated (With proper documentation and example)
0 answers