This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi, Is there an easy way to add tooltips the the backend form fields? Such as adding the data-toggle & title somehow in the fields.yaml? Thanks
http://octobercms.com/docs/backend/forms#form-field-options
You can specify custom attributes
and containerAttributes
. These are arrays that can hold arbitrary HTML attributes.
I suspected as much, what format do the attributes have to be in? I've tried attributes: data-toggle="tooltip" in a classic attempt at wishful thinking but no joy. Any chance of an example? Again many thanks.
For anyone else the answer turned out to be obvious once I RTFM :)
attributes: { data-toggle: "tooltip", title: "Some informative text" }
1-5 of 5