$form->addSelect("drink", "Favourite morning drink:", [ 'tea' => 'Tea.', 'coffee' => 'COFFEEEEE!!!! !! !!!! !', ]);
OK, so please give me an example … your code doesnt contain an editable item
I must have misunderstood your question so let's go back to the terminology. What is an ‘editable’? How should it behave?
At first, I am sorry for my english :-)
1. When I/we ceate a ->addSelect(), we put inside some data, array … and when it is rendered, I can choose one of them, but I can not write/type another text.
Last edited by Takeshi (2020-03-26 16:04)
- Marek Bartoš
- Nette Blogger | 501