We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple
Bugs when modding multiple times with multiple.
#305 related bugs.
$options = [ 'choices' => ['en' => 'English', 'fr' => 'French'], 'choice_options' => [ 'wrapper' => ['class' => 'choice-wrapper'], 'label_attr' => ['class' => 'label-class'], ], 'expanded' => true, 'multiple' => true ]; $this->plainForm->add('test', 'choice', $options); echo $this->plainForm->test->getName(); // test var_dump($this->plainForm->test->getOption('tmp.multipleBracesSet')); // Null $this->plainForm->modify('test', 'choice', [ 'rules' => 'required', ]); echo $this->plainForm->test->getName(); // test[] var_dump($this->plainForm->test->getOption('tmp.multipleBracesSet')); // true $this->plainForm->modify('test', 'choice', [ 'rules' => 'required', ]); echo $this->plainForm->test->getName(); // test var_dump($this->plainForm->test->getOption('tmp.multipleBracesSet')); // true
I think codes of modding name should move to render method and remove side effects.
render
laravel-form-builder/src/Kris/LaravelFormBuilder/Fields/FormField.php
Lines 293 to 296 in 735c258
The text was updated successfully, but these errors were encountered:
The choice type is broken is several ways. All ParentType fields are somewhat broken. I'm starting v2 without it.
choice
ParentType
Sorry, something went wrong.
I have feeling #705 might resolve that issue
No branches or pull requests
Bugs when modding multiple times with
multiple
.#305 related bugs.
I think codes of modding name should move to
render
method and remove side effects.laravel-form-builder/src/Kris/LaravelFormBuilder/Fields/FormField.php
Lines 293 to 296 in 735c258
The text was updated successfully, but these errors were encountered: