Project

General

Profile

Actions

Feature proposal #8955

closed

Improve primarycheckbox xml usage to support named keys

Added by krileon over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
18 May 2022
Due date:
% Done:

100%

Estimated time:

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.

Actions #1

Updated by krileon over 2 years ago

  • 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' ] );

Actions #2

Updated by beat over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF