primeng icon indicating copy to clipboard operation
primeng copied to clipboard

[(selection)] on Mobile View

Open MirkoDaumann opened this issue 9 years ago • 2 comments

There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours

I'm submitting a ...

[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

Current behavior If you have a primeNg-datatabale and you have [(selection)]="someVariable" on it, it works till the point when you set your Browser to Mobile View and select a Raw. In this case and only on mobile View "someVariable" will be undefined

Expected behavior [(selection)]="someVariable" would have the selected Row

Minimal reproduction of the problem with instructions create a Datatable put [(selection)] on it. Set Browser to mobile view select a row and see the variable is undefined

MirkoDaumann avatar Nov 27 '17 15:11 MirkoDaumann

The had the same issue with PrimeNG v4.3. Update to the latest version v5.0.2 solved the problem

ddyrcz avatar Nov 29 '17 06:11 ddyrcz

Thanks for the Hint.

Updated to 5.0.2 works now.

MirkoDaumann avatar Nov 29 '17 09:11 MirkoDaumann