The below In-Line snippet works in Skuid version 9 but not in version 10 or 11. This is a “set focus” snippet that we use when using a scanner so the user doesn’t have to manually put the cursor in the field. Does anyone know how to fix this?
var field = arguments[0];
$ = skuid.$; var delay = ( function() {
var timer = 0;
return function(callback, ms) {
clearTimeout (timer);
timer = setTimeout(callback, ms);
};
})(); delay(function(){
$('.nx-field > input').first().focus();
$('.nx-field > input').first().select();
}, 100 );
