Answer the question
In order to leave comments, you need to log in
How to set fileInput to default value?
The ActiveForm has a fileInput that is created from the model, in which the value of this input may already be set. The question is how to make it see this value when submitting the form? If I prescribe it as an attribute in value, then the value is assigned, but it cannot pass validation, it says that the field needs to be filled.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question