Currently looking to render a field enabled/disabled based on model value but can’t seem to get it working as required.
For example, trying to use a “Model field value” with the “Single specified value” of {{{$Model.CurrentUser.data.0.AccountId}}} to determine whether to render a field enabled.
Can’t get it to work as I like so having to use a “Snippet returns true” with the following:-
return skuid.$M(‘LadderTemplate’).data[0].DefinedBy__c === skuid.$M(‘CurrentUser’).data[0].AccountId;
Whilst the above workaround gets things done as required, would like to undertsand why the simpler/cleaner approach doesn’t work.
Question
Rendering Based On Model Value
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.