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

Conditional pDraggable and pDroppable #6100

Closed
Axel-Latour opened this issue Jul 19, 2018 · 0 comments
Closed

Conditional pDraggable and pDroppable #6100

Axel-Latour opened this issue Jul 19, 2018 · 0 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@Axel-Latour
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
When giving pDraggable or pDroppable directive a null or undefined value, I can drag and drop those elements.

Expected behavior
I would like to disable drag & drop with condition on pDraggable or pDroppable directive, to avoid using *ngIf ...; else ... with the same template, except the activation or deactivation of the drag & drop. If i give a null or undefined value to the directive, the functionality should be disabled.

@cagataycivici cagataycivici self-assigned this Jul 26, 2018
@cagataycivici cagataycivici changed the title Conditionnal pDraggable and pDroppable Conditional pDraggable and pDroppable Jul 26, 2018
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Jul 26, 2018
@cagataycivici cagataycivici added this to the 6.0.2 milestone Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

2 participants