Skip to content

"Toast" documentation mentions non-existing function "show" #8235

@Krismix1

Description

@Krismix1

Describe the bug

The "Multiple" section for the Toast mentions that multiple toasts can be shown by using the show method whilst passing an array as the value.

The problem is that there is no such method in the code (nor does the example use it; instead, it calls add several times).

image

Pull Request Link

#8234

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

Environment

The official docs

Vue version

x

PrimeVue version

4.x.x

Node version

x

Browser(s)

No response

Steps to reproduce the behavior

Check the official docs: https://primevue.org/toast/#multiple

Expected behavior

The docs should not mention non-existent functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions