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
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
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
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
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
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
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
mlantz
023efce5fd
Fixes issue with collections vs arrays
2017-05-15 05:38:20 -04:00
mlantz
2806986b41
Fixes issue #325
...
Thanks to @aygee for pointing out some missing parts
2017-05-15 00:00:52 -04:00
mlantz
c3b49e0a56
Style correction
2017-05-14 18:55:10 -04:00
mlantz
606f17f176
Cleaner string
2017-05-14 18:45:27 -04:00
mlantz
8e7ea3f8d2
Merge branch '5.4-select-option-attributes' of https://github.com/pjona/html into pjona-5.4-select-option-attributes
2017-05-14 18:27:09 -04:00
mlantz
0c31cfb6ee
Merge branch '5.4' of https://github.com/LaravelCollective/html into 5.4
2017-05-14 18:07:57 -04:00
Matt Lantz
321be7acf0
Merge pull request #314 from aygee/mutate-related-models
...
Mutating form attributes in related models
2017-05-14 18:07:43 -04:00
mlantz
28ba758afc
Fixes issue #307
2017-05-14 17:25:53 -04:00
mlantz
bc097b24e2
Reversion to the original state with the e method
2017-04-26 11:51:23 -04:00
mlantz
b583044d36
Dropping e on values that should remain literal
2017-04-26 11:33:01 -04:00
mlantz
c30acd6786
Merge remote-tracking branch 'LaravelCollective/5.4' into fix_escape
...
# Conflicts:
# src/HtmlServiceProvider.php
2017-04-26 01:25:07 -04:00
mlantz
856e1e6d6b
Fixes for escape issue
2017-04-20 00:02:24 -04:00
Adrian Gunawan
752951ee5f
Call get model value attribute recursively to allow mutating form attribute in related models
2017-04-19 16:42:00 +10:00
darthrevan13
4f38d5c0fd
Merge branch '5.3' into 5.3
2017-02-19 13:34:33 +02:00
Marek Skiba
f113066717
Allow select options to have attributes
2017-01-28 14:44:59 +01:00
Shawn Tunney
23223c6e28
Fix another getToken call
2017-01-23 10:09:39 -05:00
Stefan Roehle
92f3ba71c5
updates for Laravel 5.4
2017-01-05 18:52:43 +01:00
Stefan Printezis
6d1d46a258
Created a function for correctly converting characters to entities.
2016-11-10 23:58:02 +01:00
Stefan Printezis
c1a105975b
Values are encoded consistently by the formbuilder and the htmlbuilder
2016-10-28 12:37:15 +02:00
vlakoff
89a9f40956
Check if component/macro exists instead of relying on exceptions
2016-10-16 09:45:18 +02:00
darthrevan13
410943c5e1
changed select placeholder to major browser standards
...
http://stackoverflow.com/a/8442831/1722248
2016-09-27 19:52:22 +03:00
Victor Isadov
3f474b0bec
Fix style
2016-08-13 13:25:29 +03:00
Victor Isadov
e152172962
Make request protected
2016-08-13 13:10:38 +03:00
Victor Isadov
c47d34b7de
Test checkbox array
2016-08-13 12:35:26 +03:00
Victor Isadov
16264f1c8d
Add tests and checkbox handling
2016-08-13 12:26:27 +03:00