Request: Core change to Radio and Checkbox Classes
Maybe I'm blind, but there doesn't appear to be any way to set the Name variable on these classes, resulting in the impossibility of use of multiple different ones when using the Vanilla Framework. Is this done on purpose, or can this please be changed in the upcoming release of Vanilla? Its causing me to run into a few problems with developing a new extension that uses the Framework as much as possible without having to do odd hacks to make it mimic the Framework without actually using it.
0
This discussion has been closed.
Comments
For radio button do something liek this
$this->VoteOptions = $this->Context->ObjectFactory->NewObject($Context, 'Radio'); $this->VoteOptions->Name = 'Vote';