bjuppa / fluent-form Goto Github PK
View Code? Open in Web Editor NEWFluent HTML form builder for PHP
Fluent HTML form builder for PHP
Textareas have their "value" set in content, not in attribute. When adding content to a textarea it should not be appended, it should replace any current content.
This could be done by overriding withContent()
and have it call withDefaultContent()
.
RadioSelectBlock implements SelectorControlContract
Creates fieldset with legend
Ideas:
CheckboxMultiSelectBlock()
This should follow on the pattern of #3 that deals with radio button blocks.
We could make it possible to add filters to input values. Values would always be passed through these filters before being used no matter where the value comes from, be it from the input itself or an ancestor.
Examples of use for this would be to transform input to valid datetime strings or implode array values with specified glue.
I think it may only make sense to filter single value inputs, like text inputs etc. Not so sure about checkboxes, radios, or select inputs.
Let's put withValueFilter(callable $callable)
into a contract FilterableControlValueContract
, implement it with the existing SingleValueInputTrait
and apply the filters before returning from `SingleValueInputTrait::getValue()
Methods for setting filters should then be available through InputBlock::withInputValueFilter
- but that needs to check if $this->getInputElement()
implements FilterableControlValueContract
before passing the filter along.
The first input in the form that has an error should get the autofocus attribute set
Add a checkbox disabled css class to the checkboxes label wrapper if the containing checkbox block is disabled
Some of the PHP classes have attributes containing CSS class names.
These attributes should have publicity level protected
to enable subclasses to override them easily.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.