Skip to content

Releases: bgaze/bootstrap-form

Remove test class from form groups

25 Oct 15:00
Compare
Choose a tag to compare
v1.0.9

Remove test class from form groups

Added color input

14 May 04:46
Compare
Choose a tag to compare

Added color input method and it's @color directive alias

Fix model binded form route error

01 Mar 15:14
Compare
Choose a tag to compare
  • Fixed Indirect modification of overloaded property error when providing update route as array on model binded form
  • Linted code, corrected typos & improved phpdoc annotations
  • Added badges into readme file

Fix weird PHP behaviour messing with checkboxes and radios label

12 Dec 20:54
Compare
Choose a tag to compare

Add id attribute to hidden inputs

10 Dec 18:36
Compare
Choose a tag to compare
  • Moved flattenName function to HasSettings trait.
  • As for others inputs, add id attribute to hidden inputs if missing.
@hidden('hidden1')
@hidden('hidden2', 'some-value', ['id' => 'custom-id'])

Generated HTML:

<input id="hidden1" name="hidden1" type="hidden">
<input id="custom-id" name="hidden2" type="hidden" value="some-value">

Implemented group option inheritance

07 Dec 12:53
Compare
Choose a tag to compare
  • Implemented group option inheritance to ease form customizations.
    Group attributes can be defined at multiple levels : application wide through package configuration, form wide through form options, and at field level.
    Inheritance is supported : provided option is merged on parent option.
  • Improved config management.
  • Updated documentation.

Show errors feedback on input groups

07 Dec 11:58
Compare
Choose a tag to compare
v1.0.3

Issue 4 - Show errors feedback on input groups

Preserve attributes for check group children

26 Nov 16:55
Compare
Choose a tag to compare

When buidling check group, provided attributes weren't passed when building children inputs.

Manage options keys and HTML attributes collisions

23 Nov 08:39
Compare
Choose a tag to compare

Options take precedence on attributes, so using an option key as HTML attribute wasn't possible.
This is now possible by adding a ~ prefix on the key to specify an HTML attribute instead of a form or field option.

Exemple:

@select('multiple_select', null, ['foo' => 'Foo', 'bar' => 'Bar', 'baz' => 'Baz'], null, [
     'multiple' => true,
     'size'     => 'lg', // Size option
     '~size'    => 2,    // Size attribute
])

First release

11 Nov 16:31
Compare
Choose a tag to compare
  • Rewritted realripley00/bootstrap-form completly to manage input creation through dedicated classes
  • Shorten BootForm facade name to BF.
  • Added support for most of Bootstrap form features (custom fields, inline radios, ...)
  • Added Blade directives aliases for all BF functions
  • Implemented config inheritance : field < form < package
  • Implemented group attributes management through field options
  • Removed HTML escaping everywhere to ease complex structures creation
  • Added various config values and helpers
  • Writted complete documentation