Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getAttribute('name').controls should always contain controls that were added for the attribute #73

Open
skfd opened this issue Aug 18, 2021 · 0 comments

Comments

@skfd
Copy link

skfd commented Aug 18, 2021

There is at least two ways to create controls in xrm-mock:

  • implicitly by just running Attribute.createLookup without passing controls parameter (default control is created);
  • by explicitly passing ControlComponent to Attribute.createLookup;
  • by running Control.createLookup.

But looks like neither of this functions fill getAttribute('name').controls array. This list is useful when we want to apply some validation to all controls of the attribute, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant