on_form_prefill delete all fields values if it executes form.process
问题 I want to override the form of the Matriline model shown below. First I add an extra field clan , and in on_form_prefill I reset this field's choices and default (just testing). Without calling form.process the choices are set to my new options, but the default option is not selected. If calling form.process the choices are set to my new options and the default option is selected, but all the other fields are deleted. Anybody can help? views.py class MatrilineAdmin(sqla.ModelView): form_extra