AnsweredAssumed Answered

How set readOnly dynamically in record.js?

Question asked by Rodolfo Jesus on May 16, 2016
Latest reply on May 18, 2020 by M Gupta

I'm need set readOnly in custom field when logged user not admin in record.js

if(app.user.get('type') == 'admin')
  //set readOnly field
else
  //set editable fiel

Outcomes