NEW Winter '23 Modal Component | Lightning Web Component Salesforce | LWC Stack ☁️⚡️

Поділитися
Вставка
  • Опубліковано 7 вер 2024

КОМЕНТАРІ • 16

  • @ST-Vidz
    @ST-Vidz Рік тому +2

    Man your videos are great to keep upto date! Keep up the good work.

  • @user-xl9wc5gj1x
    @user-xl9wc5gj1x 7 місяців тому +1

    Hi there, thanks for the great video. Could you pls give an example on opening modal window by clicking a hyperlink within LWC datatable instead of clicking on button.

    • @SalesforceBolt
      @SalesforceBolt  7 місяців тому

      Have you tried applying the same method on link as well?

  • @rohitsisodia2684
    @rohitsisodia2684 Рік тому +1

    Great content bro

  • @alexiaribeiro3482
    @alexiaribeiro3482 Рік тому +1

    Great video! I have one question, can I used lightning-modal to put another LWC component inside so it can open as a modal?

    • @SalesforceBolt
      @SalesforceBolt  Рік тому

      Hey Alexia, yes you can use child components inside the modal.

    • @alexiaribeiro3482
      @alexiaribeiro3482 Рік тому

      @@SalesforceBolt Thanks for your help! I would like to ask another two questions please, but related to inline editing in a lightning-datatable, I'm struggling to make a field required, I'm using dynamic actions and was able to put some rules, but not make required.. Also, I would like to used another button to save, not the stardand one, so I'm using supress-bar, but it doesn't work like expected. I didn't find any example for this two things. Can you help with a link or some tip?

  • @TechleadConsulting
    @TechleadConsulting Рік тому

    Great content and amazing explanation , I have one question to ask can we dynamic Apex in LWC .

    • @SalesforceBolt
      @SalesforceBolt  Рік тому

      Yes we can, check this sample video below
      ua-cam.com/video/zQ7ygl45d9k/v-deo.html

  • @o0XeviaN0o
    @o0XeviaN0o Рік тому +1

    yo! I was trying to use a record-edit-form inside the modal body, recordId gets sent to the modal correctly through @api decorator.
    However modal shows all blank fields instead of filling it with the ones that should be fetched by record-edit-form

    • @SalesforceBolt
      @SalesforceBolt  Рік тому

      Hi there, what is the api decorator on the modal page? is it @api recordId? if yes can you please try to have a different name for it as this is a reserved decorator for url recordId.

  • @santhanaraman9972
    @santhanaraman9972 Рік тому

    So if we need to open the modal from aura. We might need both the parent and child lwc to work with aura right?

  • @ianroque3308
    @ianroque3308 Рік тому

    Can we put another child component in modal body content? In your case you are just passing api string