Genel Yapı
boatSearch.html
boatSearch.html
onchange olduğunda burası search CustomEven'i fırlatıyor
this.selectedBoatId 'yi kim setliyor? yine kendisi set liyor. onchange event'inden gelen objelerle()
burada aslında event senin yakaladığın 'chnage' event'i oluyor.
For a lightning-combobox
, detail.value
holds the selected option's value. This is provided by Salesforce and is a standard part of the event structure for this component.
So, when you set this.selectedBoatTypeId = event.detail.value
, you're assigning the selected dropdown value to selectedBoatTypeId
, updating the component's state with the new selection.
boatSearchForm.html
boatSearchResults.html