The WTForms documentation is woefully inadequate, they don\'t even show you one single example of a custom widget that isn\'t derived from another widget already.
I
Answered under Update, but needed this init inside Field derived class.
def __init__(self, label=None, validators=None, text='Save', **kwargs): super(InlineButton, self).__init__(label, validators, **kwargs) self.text = text