Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageService clear() #3837

Closed
Suncrusher opened this issue Sep 5, 2017 · 0 comments
Closed

MessageService clear() #3837

Suncrusher opened this issue Sep 5, 2017 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@Suncrusher
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[ x ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
It is not possible to remove currently displayed messages via the message srevice.

Expected behavior
When calling messageService.clear(), previous added messages are removed.

What is the motivation / use case for changing the behavior?
When using the message service to add messages then there should be a possibility to remove the messages via message service - using the same way.

Please tell us about your environment:
Win 7, 10, npm

  • Angular version: 2.0.X
    Angular 4.x

  • PrimeNG version: 2.0.X
    PrimeNG 4.2.0-RC.1

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    Chrome, Firefox, IE, Edge

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    Typescript 2.4.2

  • Node (for AoT issues): node --version =
    6.10.3

@cagataycivici cagataycivici self-assigned this Sep 6, 2017
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Sep 6, 2017
@cagataycivici cagataycivici added this to the 4.2 milestone Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants