Customizing textbox elements

TextboxFormElement.Type can be set as an attribute on the EntityPropertyDescriptor. If set and the property is generated as a TextboxFormElement, that type will be used.

Example

Change the multiline textarea into a singleline textbox for the code property.

.properties( props -> props
    .property( "code" )
    .attribute( TextboxFormElement.Type.class, TextboxFormElement.Type.TEXT)
)

You can add default post processors to the TextboxFormElementBuilderFactory to customize the autodetection.