You need to sign in to do that
Don't have an account?
![tonante27 tonante27](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Unwanted Duplicate Dynamic List being generated for Lightning Component
Help please!: I have successfully created two different combo boxes in a lightning component. The first one displays account records using autocompletion while the second combo box displays user records using autocompletion. However when I type a user's name in the second combo box I notice that not only do I get a list of user records underneath the second (User) combo box, but I also get that same list of user records listed underneath the first (Account) combo box. I only want the dynamic list to appear underneath the second (User) combo box when I am searching for a specific group of users when using autocompletion . Thanks. Let me know if you need additional code.
- I need to set the following
to
- I need to also make sure that copy certain component attribute varaibles from the Account object and create them for the BDM ( User object ) where I affix 'BDM' string to the end of those variables.
- I need to do the same for the functions in the Handler. ( I know there could be a more convieniet way to do this without duplication so much code but I want to make sure it works before I attempt that.)
To prove this I did a portion of the two steps mentioend above and was able to see that the dynamic liust was only positioned under the combo box where I performed the autocompletion search..Where # is set to some alphanumeric number like '02' or '01'.
All Answers
- I need to set the following
to
- I need to also make sure that copy certain component attribute varaibles from the Account object and create them for the BDM ( User object ) where I affix 'BDM' string to the end of those variables.
- I need to do the same for the functions in the Handler. ( I know there could be a more convieniet way to do this without duplication so much code but I want to make sure it works before I attempt that.)
To prove this I did a portion of the two steps mentioend above and was able to see that the dynamic liust was only positioned under the combo box where I performed the autocompletion search..Where # is set to some alphanumeric number like '02' or '01'.