Formidable
Formidable copied to clipboard
The PHP pragmatic forms library
Hi @Gregwar, It seems that constraint acts weird in some cases, as you mentioned [here](https://github.com/Gregwar/Formidable/issues/24#issuecomment-286241192). When I set the following fields to `0` and submit the form : - The...
@Gregwar i got the source attribute working in subforms - as mentioned by @chippyash in #39
# Changed log - Using current assertions to assert the expected and result values. - Removing additional white spaces. - To be consistency, using the `use` syntax to declare required...
Any maintainers still checking this repo? It seems like currently any attributes with single quotes turn into the attribute name, i.e. class='page-wrapper' will turn into class="class". Single quotes are valid...
Something like this would allow the quote used in the original html, e.g.: custom-attribute='valuewith"double"quotes' to preserve its original value unmodified and to not terminate the string early by printing double...
The checkbox input type appears to be generating the value attribute in the HTML twice. Once with the value set in my form template and again with an empty value...
It does not appear to be possible to specify an input with a type of `tel` and `url` without extending the `Factory` class. Although these types (and probably others) simply...
If I add something like this: `$default_value = date('Y-m-d'); ` and will be trying to render form with today date I'll get 1-1-1898 selects. That's wrong. I'm unable to set...
Code refactored to be in a more standard structure PSR-4 autoloading enabled Remove bootstrap for tests Form class documentation This will be V2.1.1 once merged
Hi @Gregwar, I've a case with 2 constraints but only 1 is returned in check: ``` $form2->addConstraint('quantidade_assentos', function($form) { if (empty($form->getValue('quantidade_assentos'))) { return 'Quantidade de assentos é obrigatória!'; } return...