Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justin-lyon/lwc-lookup
An SObject Generic Lookup field with LWC
https://github.com/justin-lyon/lwc-lookup
debounce lightning-web-components lookup lwc search
Last synced: about 2 months ago
JSON representation
An SObject Generic Lookup field with LWC
- Host: GitHub
- URL: https://github.com/justin-lyon/lwc-lookup
- Owner: justin-lyon
- License: bsd-3-clause
- Created: 2019-10-07T18:45:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T20:59:16.000Z (over 4 years ago)
- Last Synced: 2024-08-02T12:21:23.280Z (5 months ago)
- Topics: debounce, lightning-web-components, lookup, lwc, search
- Language: JavaScript
- Homepage:
- Size: 254 KB
- Stars: 31
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lwc - lwc-lookup - lyon](https://github.com/justin-lyon)) (On Platform Community Repos)
README
# lwc-lookup
An SObject Generic Lookup component built with LWCs.
## License
[BSD3 License](./LICENSE)
![demo](lwc-lookup.gif)
## Usage
```html
Account Id: {accountId}
```
```javascript
import { LightningElement, track } from 'lwc'export default class MyComponent extends LightningElement {
@track accountIdhandleAccountLookup (event) {
this.accountId = event.detail
}
}```