Set an operation's attributes for rendering a form #1474
Unanswered
matthewmcgarvey
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a database column that is a timestamp (
started_at
) but I don't want to ask users to enter a time. I just want it to be a button to start the concept. I can add a checkbox to the form and add anattribute
to the operation but what about if I want to render the edit form with a value set for the attribute? We have callbacks around saving and that's generally how you take the values from attributes and use them but what's the best way to go from model to hydrated operation to render edit forms?It seems like it might be nice to be able to specify an html form fields value instead of relying on the value set in the operation. I get confused every time I want to have a hidden field.
Beta Was this translation helpful? Give feedback.
All reactions