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

Add read_only_columns to TableConfig #138

Open
dantownsend opened this issue Dec 15, 2021 · 0 comments
Open

Add read_only_columns to TableConfig #138

dantownsend opened this issue Dec 15, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@dantownsend
Copy link
Member

We could add a read_only_columns option to TableConfig. When set, the UI would then render that column's input field as read only in the edit page.

TableConfig(Post, read_only_columns=[Post.created_on])

It's useful because sometime there's stuff you don't want users to be able to modify.

@dantownsend dantownsend added the enhancement New feature or request label Dec 15, 2021
@dantownsend dantownsend added this to To do in Enhancements via automation Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant