Use correct widget.
Implement htmlwidget form rendering.