primeng icon indicating copy to clipboard operation
primeng copied to clipboard

dropdown inside table selection goes to select one when adding new row

Open UttamGiri opened this issue 7 years ago • 6 comments

If you have a PrimeNG PRO Support subscription please post your issue at;

https://pro.primefaces.org

where our team will respond within 4 business hours.

If you do not have a PrimeNG PRO Support subscription, fill-in the report below. Please note that your issue will be added to the waiting list of community issues and will be reviewed on a first-come first-serve basis, as a result, the support team is unable to guarantee a specific schedule on when it will be reviewed. Thank you for your understanding.

Current Queue Time for Review Without PRO Support: ~8-12 weeks. With PRO Support: 1 hour

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

[ ] bug report => Search github for a similar issue or PR before submitting
[ ] 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

Plunkr Case (Bug Reports) Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.

https://stackblitz.com/github/primefaces/primeng-issue-template

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Angular version: 5.X
  • PrimeNG version: 5.X
  • 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 ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

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

UttamGiri avatar Aug 01 '19 03:08 UttamGiri

angular 6.1.9 primeng 6

UttamGiri avatar Aug 01 '19 03:08 UttamGiri

Are you saying that if you have a drop down in a table, when you press on the dropdown it also causes the row to become selected? If so, one way you can avoid this is to use the radio button selection example instead of the row highlight selection example.

JacobSiegle avatar Aug 02 '19 12:08 JacobSiegle

i have <p-table table and a drop down inside it . when i load data on ngoninit table loads and so does drop down . corresponding value is not selected in drop down rather all row in drop down share same value (the value of drop down of last row) . though each row in drop down ng model is different . that means row.selectedValue.

UttamGiri avatar Aug 16 '19 15:08 UttamGiri

it treats like it is pointing to same value

UttamGiri avatar Aug 16 '19 15:08 UttamGiri

Sorry please create a stackblitz using a fork of https://stackblitz.com/github/primefaces/primeng-issue-template of the issue or I cannot assist you. I cannot fully tell but it sounds like a code implementation issue and not a bug in the framework.

JacobSiegle avatar Aug 16 '19 15:08 JacobSiegle

I'm unable to replicate with the latest PrimeNG. If the issue still persists wit|h the new version please create a new issue with our stackblitz template.

cagataycivici avatar Oct 07 '19 10:10 cagataycivici