(Quick Reference)

f:widget

Description

f:widget renders an appropriate widget for a property, for example an <input type="text"> element for a String property or a <select> for an enum.

Using f:widget directly will only be necessary for very specialized cases, usually it will be invoked via f:field .

Attributes

f:widget accepts exactly the same attributes as the f:field tag (except for wrapper and templates attributes).