You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The "setDefault" method does not work for forms of type "text" with name "value".
Example Form initialize:
class notificationsEditForm extends Form {
Example Form in controller:
Example Form in view:
As a result, the form is displayed, but it has no default value (just a blank field).
IF you rename the form, for example, call the field "valuer" - the default value is inserted
Phalcon 5.2.2
Beta Was this translation helpful? Give feedback.
All reactions