Drew
327cff9376
Added range, month, week. ( #519 )
2018-05-04 09:08:46 -07:00
Jose Raul Pérez
4f3ba9fac1
create datalist form element ( #516 )
2018-04-26 09:08:57 -07: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
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
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
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
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
ac46825a97
Merge pull request #453 from mvaraujo/patch-1
...
#452
2018-02-04 14:41:29 -07:00
nickurt
29253c13a3
fixed tests ..
2018-01-03 14:50:42 +01:00
nickurt
d621ce1357
remove php_eol statements by html-tags #456
2018-01-03 14:25:43 +01:00
Tortue Torche
9e2a40555a
Merge branch 'patch-1' into 5.5
2017-12-22 14:09:39 +01:00
Marcus Vinicius Araujo
8f7bc4d097
#452
...
This shall be occuring for check-boxes. Please, check'em for us.
2017-12-18 17:23:46 -02:00
İzni Burak Demirtaş
b39f510897
+ operator doesn't merge. Replaced by array_merge method.
2017-10-26 10:37:42 +03:00
Drew
b4c0a3e26d
Style fixes. Replaced == with ===.
2017-09-18 16:28:31 -07:00
Tony
e6bc7e5fea
Adds getModel()
...
It would be nice to be able to get the model before setting a new one (maybe in a partial) and having the original model to set back at the end of the partial.
2017-09-14 10:51:14 -05:00
Christian Rishøj
1810274c8a
escape HTML entities in src-attribute
2017-09-14 11:42:34 +07:00
Drew
f380cdc14d
Added $optgroupsAttributes parameter to select method.
2017-09-08 21:20:14 -07:00
mlantz
f905913a3a
Merge branch '5.4' of https://github.com/Tettra/html into Tettra-5.4
2017-08-12 11:50:52 -04:00
mlantz
8c8cea0c3b
Merge branch '5.4' of https://github.com/LaravelCollective/html into 5.4
2017-08-12 11:45:08 -04:00
Tortue Torche
3688b0e433
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.
2017-08-09 14:23:33 +02:00
Vendin
0c1a869f4c
Fix select for old input
2017-06-26 17:50:42 +03:00
mlantz
0140f72370
Unneeded variable
2017-06-19 23:18:29 -04:00
oscarmorrison
6288505bbb
dont enforce disabled/hidden placeholder
2017-06-14 15:06:34 -04:00
Matthew Muscat
5e0ef251d4
Fix for undefined function getToken() on Laravel 5.4
...
Fixes issue as described in https://github.com/LaravelCollective/html/issues/342
2017-05-22 14:37:01 +10:00
mlantz
ad6ce597fa
Merge branch '5.3' into 5.4
2017-05-21 18:00:24 -04:00
mlantz
299f3dccd6
Merge branch '5.2' into 5.3
2017-05-21 18:00:10 -04:00
mlantz
4f6701c7c3
Fixes #291
2017-05-21 14:02:21 -04:00
mlantz
2245c3fe8c
Added the escape from 5.4
2017-05-20 15:11:43 -04:00
mlantz
37672ebf2f
Merge branch '5.3-fix' into 5.4
2017-05-20 15:10:43 -04:00
mlantz
a4bf883e9b
Merge branch '5.2' into 5.3-fix
2017-05-20 15:05:08 -04:00
mlantz
28df2ea235
Removing the double escape
2017-05-20 15:04:52 -04:00
mlantz
3dcf2185a1
Carry over from 5.1 and test update for new boolean attributes
2017-05-20 14:58:35 -04:00
Matt Lantz
9931c3e7de
Merge pull request #247 from vlakoff/dynamic_calls
...
Check if component/macro exists instead of relying on exceptions
2017-05-20 14:18:53 -04:00
Matt Lantz
fffe7ff53d
Merge pull request #168 from EspadaV8/feature/boolean-attributes
...
[5.2] Support boolean attributes
2017-05-20 13:59:53 -04:00
Matt Lantz
382267a4a2
Merge pull request #217 from decadence/fill_by_request
...
Fill values by current Request
2017-05-20 13:56:54 -04:00
Matt Lantz
9239b8678f
Merge pull request #334 from martinjoiner/5.4
...
FormBuilder.php: Added search() method
2017-05-20 13:46:58 -04:00
mlantz
115141fe55
Fixes issue #339
2017-05-19 13:45:41 -04:00
mlantz
4aae8fb438
Fixes for #337 and #259
2017-05-19 04:15:59 -04:00
mlantz
c0dc174809
Fix for #337
2017-05-19 03:41:28 -04:00
mlantz
4b493269d5
Issues #336 and #329
2017-05-18 01:28:33 -04:00
Martin Joiner
2e56b52dca
FormBuilder.php: Added search() method
...
If `email`, `tel` and `number` are all included, shouldn't we let `search` join the party too
2017-05-17 14:53:54 +01:00