Skip to content

Releases: oscarotero/form-manager

6.1.2

19 Jul 22:13
Compare
Choose a tag to compare

6.1.1

13 Jan 11:31
Compare
Choose a tag to compare

6.1.0

14 Nov 11:21
Compare
Choose a tag to compare

6.0.1

24 Mar 20:22
Compare
Choose a tag to compare

6.0.0

24 Dec 07:53
Compare
Choose a tag to compare

New version fully rewritten with a lot of breaking changes. See CHANGELOG

5.1.3

27 Sep 09:34
Compare
Choose a tag to compare

Fixed select with attributes multiple and required #74 #75

5.1.2

11 May 19:53
Compare
Choose a tag to compare

Validate file extensions from accept attribute #70

5.1.1

27 Sep 15:37
Compare
Choose a tag to compare

Fixed the attribute name if the attribute multiple is set, adding a [] at the end. (ex: name="authors[]" instead name="authors")

5.1.0

12 Sep 08:43
Compare
Choose a tag to compare

Added labelAttr and wrapperAttr methods to allow to add attributes to these properties chaining the fields:

$form = F::form([
    'name' => F::text()
        ->label('Your name')
        ->labelAttr(['class' => 'field-label'])
        ->wrapperAttr(['class' => 'field-row'])
]);

//This is the same than
$form['name']->label->attr(['class' => 'field-label']);
$form['name']->wrapper->attr(['class' => 'field-label']);

5.0.4

28 Jun 08:19
Compare
Choose a tag to compare

Removed the <div> wrapping hidden inputs.