in p-table column can be sorted with pSortableColumn="field" without square brackets in 6.0.0-beta1. I noticed it migrating from 4.3.0 to 6.0.0 version and migrating from p-dataTable to p-table
When using square brackets use single quotes around your field name. [pSortableColumn]="'field'". Or make the field a member of your class.
Invalid issue.
Most helpful comment
When using square brackets use single quotes around your field name. [pSortableColumn]="'field'". Or make the
fielda member of your class.