Skip to main content




var $ = skuid.$, field = arguments[0], hasChanged = field.model.changes[field.row.Id] && field.model.changes[field.row.Id][field.id]; switch(field.mode) { case 'read': if (field.row.Id.length >= 15 && !hasChanged) { skuid.ui.fieldRenderers[field.metadata.displaytype].read(field, arguments[1]); } else { skuid.ui.fieldRenderers[field.metadata.displaytype].edit(field, arguments[1]); } break; case 'readonly': skuid.ui.fieldRenderers[field.metadata.displaytype].read(field, arguments[1]); break; case 'edit': skuid.ui.fieldRenderers[field.metadata.displaytype].edit(field, arguments[1]); }

This time with the right screen being recorded. 😉



Pat~

Thanks for sharing that snippet with the community 🙂

Karen