Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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