Closed ce-kkoziel closed 1 year ago
Depends why you want to make it read-only there are different solutions:
public string? Name { get; private set; }
. Readonly for everyone, server-side security. IsPropertyReadonly
Readonly for everyone, server-side security. <ValueLine ctx={ctx.subCtx(a=>a.name} readOnly/>
if UI security is enought.@olmobrutall thanks a lot for explanation. First method works correctly and fits to my needs.
Dear @olmobrutall
Is there any possibility to configure some property on entity to be read only on UI?
In my example I have CompanyEntity, and I would like to have Name property as readonly on UI.