How can I hide certain column from Add row page ? #286
Unanswered
sumitsharansatsangi
asked this question in
Q&A
Replies: 1 comment 6 replies
-
So this is for custom forms? Rather than putting class MyModel(pydantic.BaseModel):
message: str = "hello world"
def my_endpoint(request: Request, data: MyModel):
# to get the logged in user:
user = request.user.user
# do stuff
return "Successful."
config = FormConfig(
name="My Form",
pydantic_model=MyModel,
endpoint=my_endpoint
) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I hide /remove any column from add row ( Let's say Email column considering below image) and how can I assign it's value from the code .
I have a
updated_by
field and I want that updated_by will be the current user updating the data. So, it is not good thatupdated_by
field will be visible to the person updating the data. And alsoupdating_by
field should be assigned by theuser_id
updating the data.Beta Was this translation helpful? Give feedback.
All reactions