AnsweredAssumed Answered

How set readOnly dynamically in record.js?

Question asked by Rodolfo Jesus on May 16, 2016
Latest reply on May 3, 2017 by Angel Martinez

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