Replies: 1 comment 1 reply
-
@nemo-omen thank you very much! Even if you probably can set an attribute to fields with setattr/setitem, I wouldn't go that path as there's quite a lot running under the hood with fields. Since you're main point is in regards HTML, I would probably suggest to go with custom widgets and/or Maybe if you can explain with more details your need I can support you with additional advices :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, I want to say that I'm going through the Emmett docs and I just love this framework and your approach. Thank you for making such a fantastic piece of software!
Now, I have a question. Is there a way to define attributes on
Form
fields so they carry over to the HTML form's inputs? If not, I can just write the markup and take care of things in the template.Beta Was this translation helpful? Give feedback.
All reactions