-
Notifications
You must be signed in to change notification settings - Fork 97
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
[Improvement] - Dynamic Option Provider #361
base: 1.x
Are you sure you want to change the base?
Conversation
…ect option provider
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
recheck |
recheck |
@procnet0 Could you please replace |
@robertSt7 could you have a look again please. I changed it now to |
|
||
let fields = this.currentElements[j].fields; | ||
for (let fieldName in fields) { | ||
if (this.currentElements[j].fields.hasOwnProperty(fieldName)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@procnet0 Sorry, I don't get why we need this check, because for me this.currentElemenst[j].fields
is the same as fields
and you iterate over fields. So the prop fieldName
should always be in fields
right?
Add context for Blocks/bricks/fieldcollection for select and multiselect option provider.