Giter Site home page Giter Site logo

spaulusofficial / picklist-buttons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stepaulustest/picklist-buttons

0.0 1.0 0.0 266 KB

LWC, picklist, buttons

License: Creative Commons Zero v1.0 Universal

Shell 10.71% HTML 6.67% JavaScript 82.62%

picklist-buttons's Introduction

A LWC picklist buttons component that works with any picklist field

This component provides an alternative to the standard built-in Path feature.
It's interesting to use it for picklist that hold alternate values rather than values that reflect a progression of stages.

The component runs entirely on the Lightning Data Service and requires no Apex.

Install

If you are on MacOS or Linux, run

sh install.dev

Otherwise, type the following commands:

  1. Create a scratch org and provide it with an alias (path in the command below):
sfdx force:org:create -s -f config/project-scratch-def.json -a pl-buttons
  1. Push the app to your scratch org:
sfdx force:source:push
  1. Open the scratch org:
sfdx force:org:open

Configuration

  1. Edit a record page with the Lighning App Builder
  2. Place the Picklist Buttons component on the page.
  3. Set the Qualified Field Name parameter to one of the object picklist field. The field name must be qualified (eg: Account.Rating or Dummy__c.Stage__c).

Lightning App Builder configuration



Component at runtime

picklist-buttons's People

Contributors

pozil avatar

Watchers

 avatar

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.