Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin-UI: Allow for entry of Primary ID in create/edit modes if needed. #4906

Closed
CaMer0n opened this issue Nov 6, 2022 · 0 comments
Closed
Assignees
Labels
type: enhancement An improvement or new feature request
Milestone

Comments

@CaMer0n
Copy link
Member

CaMer0n commented Nov 6, 2022

Motivation

In some circumstances (eg. interacting with an API, instead of a database table) it may be necessary to enter the primary ID field when creating or editing a record using the Admin-UI.

Proposed Solution

Check for 'writeParms' => ['visible'=>true] in the field attributes before automatically hiding the primary id field or other special fields.
If found, do not hide the field in create or edit mode.

Also, an option to add a custom button above the list view layout (upper right) using renderCustomListButton() in the admin-ui form handler.

@CaMer0n CaMer0n added the type: enhancement An improvement or new feature request label Nov 6, 2022
@CaMer0n CaMer0n added this to the e107 2.3.3 milestone Nov 6, 2022
@CaMer0n CaMer0n self-assigned this Nov 6, 2022
@CaMer0n CaMer0n closed this as completed in 2f4fdf9 Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

No branches or pull requests

1 participant