Git Product home page Git Product logo

jongpie / simplelightningcomponents Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 17.0 281 KB

A collection of custom Salesforce Lightning components to try to make Lightning development a little bit less frustrating

License: MIT License

CSS 0.33% JavaScript 22.14% Apex 77.53%
aura aura-framework lightning-component salesforce-developers salesforce-lightning salesforce-lightning-components salesforce-metadata

simplelightningcomponents's People

Contributors

jongpie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

simplelightningcomponents's Issues

Create a lookup component

Salesforce still does not provide a native lookup component for LEX, so time to make one. ideally, it should look and function the same way as a standard lookup field (SLDS docs for lookups available here).

  1. When the field is clicked, show a list of recently viewed records + an option to create a new record from the component
  2. If a new record is created, it should use the standard force:createRecord event - once the record is created, the component should automatically set the new record as the parent object in the lookup
  3. Automatically default to searching the object's name field (subject for case & task, etc), with the ability to override this and to specify multiple fields to search, as well as fields to display in the search results
  4. The component should dynamically show the object's icon
  5. Searching should occur as you type - the autocomplete should have a 'search for X in SomeObject__c' line displayed as soon as the user begins typing (same functionality as a standard lookup in LEX)
  6. Since the fields will be specified/known, it should use SOQL for the search instead of SOSL.
  7. The component should support polymorphic fields where multiple SObject types can be used (task.WhoId & task.WhatId)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.