how to use closure in Phalcon\Tag::select() #15940
s-ohnishi
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at Select.zep, it seems that closure can be specified for the argument using.
However, I couldn't find any manuals or samples that mentioned it.
Can anyone please tell me where they are?
I want to know what I can get with closure and what I should return.
The original problem was that I wanted to create a non-selectable option depending on the contents of the records I got from the model.
(I want to add disabled to the option tag)
Beta Was this translation helpful? Give feedback.
All reactions