Skip to content

[b-alert] Dismissible alerts cannot be resused #718

Closed
@alexsasharegan

Description

@alexsasharegan

So I'm trying so use a single alert component in a parent vue component. Children pass up messages, and the parent resets the content and show value on the alert. I can't get the alert to re-show because the show value in the parent isn't updated when using the countdown. I try updating the show value with the dismiss countdown event, but that doesn't work after I dismiss an alert.

https://jsfiddle.net/alexsasharegan/zrdur2cp/

  • Try dropping a msg into the input, letting it self-dismiss. All good.
  • Now try the other btn. Should be good.
  • Now fire a btn and dismiss. Should close.
  • Now fire another btn. DOA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions