Resolve Entities with filtered choice list
SummaryResolve Entities with filtered choice list
Is there an option to use resolve entities in YAML such that it only shows a filtered list of options to the user?
I have an entity called policyDocumentList with a number of values. Some of these values are not applicable for a employee (through user role) but all the options are applicable for a manager (through user role).
I am able to figure out if the user is an employee or manager using a custom component but can I use the same entity with resolve entity function to display only applicable options?