I was trying to create a Model object so i can pass it into the form a generate a pre-filled form. I would like to pre-fill the form and have the form flag out any missing required parameters or wrong types. However, I get blocked by a ValidationError which makes it unable to create the object.
Would it be possible to throw a warning instead of an error so it does not block the creation of the object? I'm not sure how feasible is that but it would be nice to have such a functionality, thank you!
(update: I realise that this is something to do with pydantic model object creation and not related to this form)
Hi!
I was trying to create a Model object so i can pass it into the form a generate a pre-filled form. I would like to pre-fill the form and have the form flag out any missing required parameters or wrong types. However, I get blocked by a ValidationError which makes it unable to create the object.
Would it be possible to throw a warning instead of an error so it does not block the creation of the object? I'm not sure how feasible is that but it would be nice to have such a functionality, thank you!
(update: I realise that this is something to do with pydantic model object creation and not related to this form)