-
Good morning, When I create a simple element like this: This happens because the method If I change the code by putting numbers and booleans between quotes, all works fine: I need to edit all my forms elements, or is this a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi. Since the required attribute value is a boolean
And Phalcon seems to adopt a method that does not abbreviate like Many attribute values need to specify strings, and if It's very unfortunate that you end up in a situation where you have to rewrite every applicable element, but I support Phalcon's direction. |
Beta Was this translation helpful? Give feedback.
-
From what I read all attributes should be passed as string but it is not enforced I will make the necessary changes and release today. |
Beta Was this translation helpful? Give feedback.
-
@Alistar84 You can upgrade to 5.0.2 and that issue is fixed |
Beta Was this translation helpful? Give feedback.
@Alistar84 You can upgrade to 5.0.2 and that issue is fixed
https://github.com/phalcon/cphalcon/releases/tag/v5.0.2