Feature proposal #8955
closed
Improve primarycheckbox xml usage to support named keys
Added by krileon over 2 years ago.
Updated over 2 years ago.
Description
Currently this only works with single key without name. So basically primary id. Implement support for a keys attribute so this can be used with tables that have multiple primary keys or for named key loading.
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented in MR !1805
Example User:
<field name="" type="primarycheckbox" keys="user_id,notification" width="1%" align="center" />
Result:
->load( [ 'user_id' => 'ABC', 'notification' => 'XYZ' ] );
- Status changed from Resolved to Closed
Also available in: Atom
PDF