Answer the question
In order to leave comments, you need to log in
How to replace the class in the name of the input field with your own text?
Good afternoon. At the moment, any field has a BaseConfig prefix (model name), can I put my own text instead? For example SettingsForm? According to the idea, this should be implemented through the ActiveForm widget parameter, but I did not find it. Tell me please
Answer the question
In order to leave comments, you need to log in
Solved the problem by overriding the Model::formName() method on the model
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question