Victor Isadov
ec0ebb1a6e
Merge pull request #593 from LaravelCollective/decadence-patch-1
...
Change order in array_merge
2019-03-03 22:52:36 +03:00
Victor Isadov
fd12a0ef76
Merge pull request #591 from TiDJ/patch-1
...
Wrong return doc comment in renderComponent function
2019-03-03 22:50:25 +03:00
Victor Isadov
e7873944b8
Change order in array_merge
...
Closes https://github.com/LaravelCollective/html/issues/575
2019-03-03 22:45:13 +03:00
Tom Jamon
4915143db6
Wrong return doc comment in renderComponent function
...
renderComponent return a HTMLString (Illuminate\Support\HtmlString)
2019-03-02 00:07:58 +01:00
Matt Lantz
0e360143d3
Update composer.json
v5.8.0
2019-03-01 17:53:41 -05:00
Matt Lantz
4fda97ebd4
Merge pull request #590 from ranabd36/dev-5.8
...
Pull request for Larvel 5.8
2019-03-01 17:46:42 -05:00
Ibrahim Al Naz Rana
d1999f8dec
Update laravel 5.8
2019-03-01 22:22:04 +06:00
Moh. Ibrahim Al Naz Rana
f83bc503a6
Update readme.md
2019-03-01 19:05:08 +06:00
Ibrahim Al Naz Rana
b6208070ed
Update laravel 5.8
2019-03-01 18:35:49 +06:00
Ibrahim Al Naz Rana
7b8080c43a
Update for for laravel 5.8
2019-02-28 13:26:01 +06:00
Ibrahim Al Naz Rana
2fc07eeaa4
Remove deprecated helper function and use Facade instead
2019-02-28 13:25:36 +06:00
Victor Isadov
48d7cff502
Merge pull request #583 from shadoWalker89/patch-2
...
[5.7] Simplify isNestedModel() method, no need for if
2019-01-25 21:42:58 +03:00
Melek REBAI
d316b45719
[5.7] Simplify method, no need for if
2019-01-25 11:07:59 +01:00
Matt Lantz
777b6d3908
Merge branch '5.6' into 5.7
v5.7.1
2018-09-05 14:32:53 -04:00
Matt Lantz
68caec9e82
Merge pull request #567 from yajra/patch-57
...
Add support for Laravel 5.7
v5.7
2018-09-05 14:08:07 -04:00
Arjay Q. Angeles
ed7cbf7824
Add support for Laravel 5.7.
...
Fix #564 , #565
2018-09-05 14:35:52 +08:00
Tautvydas
974605fcd2
Allow sub-select to be iterable to accept array and collection ( #540 )
v5.6.10
2018-06-18 08:04:16 -07:00
ThunderbirdsX3
fda9d3dad8
Can set class attribute in array. ( #521 )
...
In case of you want to add class by condition.
```
Form::text('name', null, ['class' => [
'form-control-,
$error ? 'is-invalid' : '',
]]);
```
v5.6.9
2018-05-30 09:09:07 -07:00
Victor Isadov
6d1ccebb53
Make Request optional ( #522 )
...
* Make Request optional
* StyleCI
2018-05-30 09:07:28 -07:00
Drew
42c0854e00
Add range, month, week. ( #520 )
...
* Added range, month, week.
* Added URL test.
* Removed duplicate function testFormFile.
v5.6.8
2018-05-10 10:15:15 -07:00
Drew
327cff9376
Added range, month, week. ( #519 )
2018-05-04 09:08:46 -07:00
Gabriel Caruso
38f2c6ff0d
Update to PHPUnit 7.1 ( #511 )
v5.6.7
2018-04-26 09:09:18 -07:00
Jose Raul Pérez
4f3ba9fac1
create datalist form element ( #516 )
2018-04-26 09:08:57 -07:00
Adrian Crisan
b3a10245c7
Fix the issue where defaults has a higher priority then the attributes ( #509 )
v5.6.6
2018-04-09 07:09:32 -07:00
Tom Shafer
a89479d89b
Update composer.json
2018-03-23 17:37:04 -07:00
ilyadrv
623a150c91
Placeholder for select element not hidden anymore ( #493 ) ( #499 )
...
* Placeholder for select element not hidden anymore (#493 )
* Fix tests for placeholder select element without hidden attribue
v5.6.4
v5.6.5
2018-03-16 09:57:31 -07:00
Devin
5060a6641d
Fixed bug with radio button not being checked ( #501 )
...
* Fixed bug with radio button not being checked
Fixes: https://github.com/LaravelCollective/html/issues/496
Loose comparison needs to be done because Laravel model casting may be in affect and therfore 1 == true and 0 == false.
* typo
2018-03-16 09:57:16 -07:00
Anderson Friaça
41cd9291a6
[5.6] Validation in select field for boolean value of selected option ( #491 )
v5.6.3
2018-02-12 06:19:42 -08:00
Tortue Torche
b299ad2c41
[master] Form method of hidden input '_method' is preserved on next request ( #488 )
...
* Form method of hidden input '_method' is preserved on next request
E.G. When you submitted data across a form with a 'PATCH' method and then in a second submit you use a form with a 'DELETE' method, the FormBuilder::getValueAttribute() method use the previous value of the hidden input '_method'.
So the value is replaced by 'PATCH' instead of the 'DELETE' value.
* Drop PHP 7.1 and add PHP 7.2 in Travis CI config
Because Laravel 5.6 require at least PHP 7.1.3
* Fix PHP 7.2 Warning with count()
Otherwise a PHP Warning is thrown:
count(): Parameter must be an array or an object that implements Countable
See http://php.net/manual/en/migration72.incompatible.php#migration72.incompatible.warn-on-non-countable-types
* Bump Mockery version to support PHP 7.2
2018-02-09 06:25:43 -08:00
Anderson Friaça
050af9862b
Possibility of boolean value for selected option in select field ( #487 )
...
* Validation in select field for boolean value of selected option
* Adjusts
* Update FormBuilder.php
Adjustments
* Test and adjusment on PHPDoc
2018-02-08 11:50:55 -08:00
Tortue Torche
818efc2e16
[5.6] Form method of hidden input '_method' is preserved on next request ( #486 )
...
* Form method of hidden input '_method' is preserved on next request
E.G. When you submitted data across a form with a 'PATCH' method and then in a second submit you use a form with a 'DELETE' method, the FormBuilder::getValueAttribute() method use the previous value of the hidden input '_method'.
So the value is replaced by 'PATCH' instead of the 'DELETE' value.
* Drop PHP 7.1 and add PHP 7.2 in Travis CI config
Because Laravel 5.6 require at least PHP 7.1.3
* Fix PHP 7.2 Warning with count()
Otherwise a PHP Warning is thrown:
count(): Parameter must be an array or an object that implements Countable
See http://php.net/manual/en/migration72.incompatible.php#migration72.incompatible.warn-on-non-countable-types
* Bump Mockery version to support PHP 7.2
v5.6.2
v5.6.1
v5.5.2
2018-02-08 10:38:44 -08:00
Tom Shafer
360cb180f7
Update composer.json
2018-02-08 08:21:10 -08:00
Max Mitschke
e6496328af
Added Laravel 5.6 stable support ( #484 )
...
* Laravel 5.6 stable support
* fixed bug where opt group attributes where passed to option, added opt group attributes to opt group
* dropped php 7.0 because Laravel minimum requirement is now php 7.1.3
v5.6
2018-02-08 08:16:30 -08:00
Vendin
137a2efcf1
Getting relation data for model accessor ( #474 )
2018-02-05 08:22:47 -07:00
Tom Shafer
32c27a54cd
Merge branch 'master' of github.com:LaravelCollective/html
2018-02-05 08:09:36 -07:00
Tom Shafer
f9deb1da6f
Merge branch '5.5' of github.com:LaravelCollective/html
2018-02-05 08:09:29 -07:00
ThunderbirdsX3
5feb06537d
Fix placeholder not hide in select list. ( #473 )
...
* Update test.
* Fix place holder show in select list.
2018-02-05 07:59:23 -07:00
Vendin
e1318fcfdd
Getting data for a form from a relation ( #472 )
2018-02-05 07:58:09 -07:00
Lluís Bayer Soler
cecb65626c
Nested optgroups ( #470 )
...
* fix optionGroup and added a function to handle recursively the arrays
* simplify recursively
* fix codestyle
* fix codestyle
* add new parameter annotation
2018-02-05 07:04:30 -07:00
Luiz Gustavo Martins
2c5db92f66
Fix some inputs treated like nestedModel when using an accessor ( #471 )
...
* 5.6 Prep
* Added $optgroupsAttributes parameter to select method.
* escape HTML entities in `src`-attribute
* Style fixes. Replaced == with ===.
2018-02-05 07:04:02 -07:00
Tom Shafer
7e49960e8f
Merge pull request #421 from thetar/patch-1
...
Adds getModel()
2018-02-05 06:45:48 -07:00
Tom Shafer
f3b55c6033
Merge pull request #442 from izniburak/5.5-array_merge
...
+ operator doesn't merge. Replaced by array_merge method.
2018-02-05 06:43:39 -07:00
Tom Shafer
a5f7464ee6
Merge pull request #469 from crishoj/5.5
...
Proposal: Escape HTML entities in `src`-attribute
2018-02-05 06:41:39 -07:00
Tom Shafer
cd71ed1538
Merge branch '5.5'
...
# Conflicts:
# src/FormBuilder.php
2018-02-04 15:06:18 -07:00
Tom Shafer
e2fcbee917
Merge pull request #460 from tortuetorche/5.5
...
[5.5] Form method of hidden input '_method' is preserved on next request
2018-02-04 15:03:46 -07:00
Tom Shafer
2dfc110b6c
Merge pull request #416 from djh101/master
...
Added $optgroupsAttributes parameter to select method.
2018-02-04 14:59:15 -07:00
Tom Shafer
8997f1209d
Merge branch '5.5'
2018-02-04 14:46:24 -07:00
Tom Shafer
ac46825a97
Merge pull request #453 from mvaraujo/patch-1
...
#452
2018-02-04 14:41:29 -07:00
Tom Shafer
33dd7bb48e
Merge pull request #448 from peterparkers/patch-1
...
Update composer.json
2018-02-04 14:38:05 -07:00
Tom Shafer
779d075f79
Merge pull request #458 from nickurt/patch-1
...
Remove PHP_EOL statements by HTML-tags ..
2018-02-04 14:37:47 -07:00