How can i change the style of a form title? #1437
-
Hello again :D, In this screenshot, you can see the title "Vorlage - Alle Feldtypen" of the form, which is included through the schema. I have done some research, but unfortunately, I haven't found a way to modify the styling. Can you please provide guidance on where I can do that? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hello @yldshv The In general, it is very difficult to create templates that fit all use cases. If you need some extensive changes to the template itself, it is always recommended to create a custom template. Customization options of default templates is listed here: https://www.data-driven-forms.org/components/form-template#heading-defaultformtemplates |
Beta Was this translation helpful? Give feedback.
-
Hi @Hyperkid123 , |
Beta Was this translation helpful? Give feedback.
-
Thank you guys! |
Beta Was this translation helpful? Give feedback.
You have created a
style
prop not class based CSS. I suggest checking the API and examples available here: https://mui.com/material-ui/api/typography/#typography-prop-classesI've updated the sandbox to pass styles prop as well. You can see the color of the title should be now red.