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

Primary column not editable #49

Open
trangvu9 opened this issue Aug 31, 2022 · 1 comment
Open

Primary column not editable #49

trangvu9 opened this issue Aug 31, 2022 · 1 comment

Comments

@trangvu9
Copy link

Is there a good reason for this line's logic? I think in many cases primary columns such as those non-auto-generated ones should be editable.

public isEditable(): boolean {

"they" are doing it with sequelize too:

https://github.com/SoftwareBrothers/adminjs-sequelizejs/pull/64/files

Thanks

@dziraf
Copy link

dziraf commented Oct 25, 2022

You can make any field editable using resource options configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants