KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
Searchable-Combobox-Lwc
★ 9
Open GitHub ↗
Searchable-Combobox-Lwc
Download README (.md)
Explore Similar Repositories
materialistic-knife-835
:
This is a project of an E-commerce website where customers can register, login and show product and add to cart. this project is a clone from the website https://bluemercury.com
ShangMeiCuiXue
:
一个微信云开发的校园论坛小程序
hilfsmittel-api
:
No description available.
awesome-dots
:
My custom AwesomeWM desktop.
vue3-learn
:
Vue3源码阅读
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
Searchable-Combobox-Lwc
?
Download (.md)
# Searchable Combobox Lwc > **_NOTE:_** This combobox is different from the lookup component. This a custom lightning combobox with free text in which you can pick the value from the available options or type your own value. The component's functions are very similar to the standard Subject field on the Task Object in Salesforce. ## Features 1. Type a custom value or select from a dropdown/picklist. 1. Supports keyboard navigation through the options. 1. Uses standard salesforce styles and components. 1. Allow users to set the value and add a required attribute. 1. Can be used on Salesforce Platform or LWC Open Source. # How to use. 1. Download The code 1. Deploy the component in your org. 1. Use the component in your custom web components. ### Example Code 1. HTML File ```html <c-searchable-combobox required="true" label="Searchable Combobox" options={options} value={value} onchange={handleChange} ></c-searchable-combobox> ``` 2. JavaScript Controller. ```js value = ""; options = [ {label: "--None--", value: ""}, {label: "Call", value: "Call"}, {label: "Email", value: "Email"}, {label: "Message", value: "Message"}, {label: "Task", value: "Task"}, {label: "Visit", value: "Visit"}, {label: "Other", value: "Other"}, ]; handleChange(event) { this.value = event.detail.value; console.log(this.value); } ``` Let me know your thoughts on my blog post regarding this component: [Searchable Picklist/Combobox In Lwc](https://www.forcetrails.com/2022/07/searchable-picklist-combobox-in-lwc.html)