The current implementation is very unflexibel, good examples to draw from are select.py and multiselect.py (using context variables instead of "magically" appearing properties in the overwritten render method of the widget.
[ ] Define interface for components which are usable as form-input elements. Just for the form-functionality to work a component only needs to set the "name" and "value" attribute correctly (in most cases). Most of the other attributes are only required for correct display I think.
[ ] Maybe get rid of boundfield in all components and rely on the values from djangos build_widget_attrs on a field?
[ ] Add option to customize used form elements (aka replace a defautl widget)
The current implementation is very unflexibel, good examples to draw from are select.py and multiselect.py (using context variables instead of "magically" appearing properties in the overwritten render method of the widget.