Open waqasidrees07 opened 3 months ago
File: test_tetra_forms/main/components/init.py
Old Code """ @default.register class PersonFormComponent(FormComponent): form_class = PersonForm """
New Code
""" @default.register class PersonFormComponent(FormComponent): form_class = FormFactory.factory(Form=PersonForm) """
Here I am using FormFactory in test_tetra_forms projects
Where is FormFactory used? I can't see any usage of the class in the code?
— Reply to this email directly, view it on GitHub https://github.com/tetra-framework/tetra/pull/70#issuecomment-2328815011, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6FFYX2AUDKBZQECPLZHENLZU32SVAVCNFSM6AAAAABMBCBJXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYHAYTKMBRGE . You are receiving this because you authored the thread.Message ID: @.***>
this PR controls the file handling part in tetra
change in middleware control the error on opening files in new tab FormFactory identifies that which form is submitting so we will only validate that form so other form not effected in this case