Code Monkey home page Code Monkey logo

sfdc-ui-modal's Introduction

Salesforce Lightning Modal Component (Deprecated)

WARNING: this component is deprectated.
It is replaced by the following base components:

About

This is a generic & customizable modal dialog component built using Salesforce Lightning and SLDS style. It does not rely on third party libraries. It features all of the options of the original SLDS modal.

Features

The Lightning Modal component provides the following features:

  • rich body that supports any Lightning components
  • optional header block with a title and an optional tagline
  • optional footer block that supports any Lightning components
  • rendering options: wide modal, close icon, directional buttons
  • a shorthand method to dynamically create a simple alert modal

Install

Install the Lightning Modal component as a managed package by clicking on this button:

Install

Documentation

Component is documented using the Aura documentation. You can access it from this URL (replace the domain): https://<YOUR_DOMAIN>.lightning.force.com/auradocs/reference.app#reference?descriptor=ui_modal:modal&defType=component

Sample application

Check out the sample application.

sfdc-ui-modal's People

Contributors

pozil 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sfdc-ui-modal's Issues

Clear Modal input fileds

Hi,

I use this ui-modal lightning components as data entry form. Once button confirm is clicked, the data is saved and modal form is closed. but when click open modal again, old data are still on the input fields (number type). I try to reset binding attribute and it is not working.

What is the best way to clear input fields (number types) on this modal form.

Thanks for your help.

Wrong position in Lightning Experience

While the component is working well in VF, when I use it into another component in LEX I've got a wrong position:

modalissue

If the content of the modal is too big, the scroll bar appears, but the maximum height is too much, I can't see the title. I understand that probably it's a SLDS issue, but maybe there could be some workaround.

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.