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
Hi,
One issue I noticed with the library is I cant add also some custom css classes directly when adding the form element.
$this->addElement('text', 'date', array( 'attribs' => [ 'onchange' => 'this.form.submit()', 'class' => 'datepicker', 'size' => 10, 'maxlength' => 10, ], 'value' => date('Y-m-d') ));
The class is overwrited by form-control.
I can append additional classes only after the form element is added.
$class = $this->getElement('date')->getAttrib('class'); $this->getElement('date')->setAttrib('class', $class.' datepicker');
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
One issue I noticed with the library is I cant add also some custom css classes directly when adding the form element.
The class is overwrited by form-control.
I can append additional classes only after the form element is added.
The text was updated successfully, but these errors were encountered: