

def get_field_options(self, field):
    options = {
        
    }
    options['label'] = field.label
    options['help_text'] = field.help_text
    options['required'] = field.required
    options['initial'] = self.default_value
    return options

dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailforms/forms.py FormBuilder.get_field_options/VarMisuse@51/65 `field`->`self`