hi the seanrio was to create a custom Combo Box (picklist Filed) whenever the Piclist value was change according to the Child value was shown & Child Componet aslo call accordigly .
here one issue is there when ever i change the picklist value the value was changed but not call the child componet individually like
for example when i click on sad --the value was showing your mood was sad & the child componet emoji was showing .
but in my case all emoji was showing ..
see the below output:
in this when i change has happy the value was shown your mood was happy but Not showing only Happy Emoji its showing all
On this Emoji i create Modal popup Functinllay ..& this was when u clcik the hap the emoji was vsibile ..
please help me on this !!!
this My Js for Parent
import { LightningElement } from 'lwc';
export default class ComboboxBasic extends LightningElement {
value = '';
get options() {
return [
{ label: 'sad', value: 'Your Mood was so Sad ' },
{ label: 'Happy', value: 'Your Mood Was Very Happy' },
{ label: 'Ok', value: 'Your Mood was ok Type Mood ' },
{ label: 'Tension', value: 'Your Mood was so Tensed!!' },
];
}
handleChange(event) {
this.value = event.detail.value;
}
}