[Qlik Sense 3.0] Input field Example
define(["qlik"], function(qlik) {
return {
paint : function($element, layout) {
var html = "";
var ext = this;
html += '<table><tr><td><input type="text"/></td></tr></table>';
$element.html(html);
$element.find('input').on('change', function() {
var val = $(this).val() + '';
console.log(val);
});
}
};
});