class Form(mf.Form): name = mf.Str(__call__=input)
class MyForm(mf.Form): name = mf.Str() class Meta: metadata = {"action": "#"}
class StudentForm(mf.Form): color = mf.Select([]) name = mf.Str()
class MyForm2(mf.Form): name = mf.Str() ctime = mf.DateTime(disable=True)
class PersonForm(mf.Form): name = mf.Str() age = mf.Int() def make_object(self, data): return Person(**data)