Tiny tutorial for programming SFI?
I have almost finished with my FormsInput for picking multiple elements so I'll be able to expand your instructions a little bit. I still don't understand some things, would you mind to help me with them?
- the name attribute of the form input sometimes have brackets like in it like this: input3.
- On the other hand sometimes we add an additional hidden element like
Html::hidden($name . '[is_list]', 1)
- And thirdly we have the method canHandleLists() to override.
It seems that all three thing are indicating that the form input can handle lists, but it's pretty weird to see three different pieces of code trying to say the same thing. :-)