Answer the question
In order to leave comments, you need to log in
How to cancel focus on CActiveForm?
I draw a form using activeforms. I have only one date picker there (I do it with the help of zii.widgets.jui.CJuiDatePicker)
and two "approve" and "deny" buttons.
The date is already set (it is understood that a person can change it if he wants)
This is all in the popup, when I show the popup, the calendar of the date picker falls out. It is shown due to the fact that focus is placed on the field with the date (I tried to put the left input first, the calendar was not shown, but there are no inputs in the form :() It needs to be removed.
How to overcome it?
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