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
Describe the bug
Following this example: https://docs.phalcon.io/5.7/volt/#tag-helpers
It shows you should place inputSelect in a loop chained to an add function to add options. Not surprisingly, this just spits out x number of select fields, with only one option (see screenshots). So obviously the documentation is wrong here, but reviewing the source, I cannot find a method for adding a list of options directly? (Phalcon 3.4 had a using option: https://docs.phalcon.io/3.4/volt/#using-tag-helpers).
How to do this in Phalcon 5.7?
I am thinking, in alignment with what you mention, to have more methods for this. For instance we can have a method setAttributes to change whatever we like before the element is rendered and also have something like setOptions that will accept the array (the same thing as using)
Describe the bug
Following this example: https://docs.phalcon.io/5.7/volt/#tag-helpers
It shows you should place
inputSelect
in a loop chained to anadd
function to add options. Not surprisingly, this just spits out x number of select fields, with only one option (see screenshots). So obviously the documentation is wrong here, but reviewing the source, I cannot find a method for adding a list of options directly? (Phalcon 3.4 had ausing
option: https://docs.phalcon.io/3.4/volt/#using-tag-helpers).How to do this in Phalcon 5.7?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
One select field with provided multiple options.
// paste code
Screenshots
If applicable, add screenshots to help explain your problem.
Details
The text was updated successfully, but these errors were encountered: