James Alday
0fc25932db
Update closure syntax for StyleCI check
2016-06-10 14:03:38 -04:00
James Alday
92a4833e11
Add test for htmlBuilder link and mailto escaping
2016-06-10 14:01:04 -04:00
Matt Lantz
f6d9a66624
Merge pull request #174 from StefanPrintezis/form_label_html
...
Html escaping is now optional for labels
2016-06-10 11:26:30 -04:00
James Alday
0d1d1fcd5a
Add 'escape' option to helper function
2016-05-21 15:50:41 -04:00
James Alday
f9a4e185f4
Make escaping of labels for HTML and mailto links optional
2016-05-21 15:10:11 -04:00
Matt Lantz
4d5ed8a59a
Merge pull request #155 from rafael-renan-pacheco/5.2
...
Avoid using session to build form
2016-05-19 11:46:23 -04:00
Adrian Gunawan
0625f71fd9
Fix the issue of getting form value from related model
2016-05-19 15:47:42 +10:00
Adrian Gunawan
a3d42da280
Transform the field name when getting the form value from model
2016-05-14 20:50:52 +10:00
mlantz
67b3289891
More style fixes
2016-04-06 15:18:08 -04:00
mlantz
04f921062e
style fix
2016-04-06 15:17:41 -04:00
mlantz
e9d7084769
Supports blade directives
...
Now creates a collection of blade directives for available html, and
form methods
2016-04-06 14:35:03 -04:00
Stefan Printezis
d65deb4e77
Html escaping is now optional for labels
2016-03-23 13:13:50 +01:00
lanort
81c9ee7a7b
FormBuilderTest: testSelect: added test for '0'-key option
...
Added assertion for the case, that the options for the select field contain a zero key, eg `['0' => 'All Sizes', 'L' => 'Large']`
See also commit: https://github.com/LaravelCollective/html/pull/127/commits
2016-03-03 10:13:57 +01:00
Andrew Smith
068dfb348d
Support boolean attributes
2016-03-03 16:48:31 +10:00
Tom Shafer
02c75dff24
Merge pull request #128 from EspadaV8/feature/add-missing-form-select-test
...
Add test for select optgroups
2016-03-02 21:07:38 -07:00
Alexandre Butynski
9dc27a4188
Add PHP 7 to travis configuration
2016-03-02 21:07:31 -07:00
Tom Shafer
2b67d708ce
Merge pull request #160 from neoxia/5.1
...
Add PHP 7 to travis configuration
2016-03-02 21:02:33 -07:00
Tom Shafer
bdc56f0239
Merge pull request #128 from EspadaV8/feature/add-missing-form-select-test
...
Add test for select optgroups
2016-03-02 21:01:11 -07:00
Alexandre Butynski
6b68b0856c
Add PHP 7 to travis configuration
2016-02-10 13:45:37 +01:00
Rafael Renan Pacheco
df8acc24bb
Avoid using session to build form
2016-02-01 09:32:17 -02:00
Adam Engebretson
3a312d39ff
Merge pull request #153 from mikemand/patch-1
...
Use array_get's third parameter for default value.
v5.2.4
2016-01-27 16:29:54 -06:00
Micheal Mand
fa2628d311
Use array_get's third parameter for default value.
...
This allows for using boolean values as default options.
2016-01-27 14:49:58 -06:00
Adam Engebretson
e5011d337c
Merge pull request #151 from antonioribeiro/patch-1
...
Remove uneeded use.
2016-01-26 18:26:51 -06:00
Antonio Carlos Ribeiro
0e8e2dbc67
Remove uneeded use.
2016-01-26 21:39:03 -02:00
Adam Engebretson
7ec0ca55ca
Merge pull request #146 from paulvl/5.2
...
Function Tag
v5.2.3
2016-01-20 12:28:21 -06:00
Paul Vidal
6f35784c8b
added function tag
2016-01-20 00:56:22 -05:00
Adam Engebretson
c88b2d59a5
Revert "[5.2] Use toArray() for Model Object Value"
...
This reverts commit e7db3dd11a .
v5.2.2
2016-01-16 10:54:49 -06:00
Adam Engebretson
add2c74b14
Merge pull request #135 from dennisoderwald/patch-1
v5.2.1
2016-01-15 15:59:03 -06:00
Tom Shafer
10111f558c
Merge pull request #136 from LaravelCollective/analysis-8mkeVq
...
Applied fixes from StyleCI
2015-12-28 20:09:30 -05:00
Tom Shafer
b60bb4da7c
Applied fixes from StyleCI
2015-12-28 20:09:17 -05:00
Dennis Oderwald
e7db3dd11a
[5.2] Use toArray() for Model Object Value
2015-12-23 22:28:01 +01:00
Adam Engebretson
5a8f1380a0
Updating composer.json metadata
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
v5.2
2015-12-22 23:46:46 -08:00
Adam Engebretson
5b58b7e90b
Updating for 5.2
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-22 23:32:30 -08:00
Andrew Smith
466aabedbd
Add test for select optgroups
2015-12-15 16:53:33 +10:00
lanort
ef11b7dd2f
Update FormBuilder.php: fix to get selected value with 0 as index
...
`getSelectedValue` returns always true if it receives a value (from an select input) of 0. To avoid that the strict parameter has to be set to true.
This is because the following code does not work as might expected:
<?php
// check if 0 is in the array [1 => "c16"]
var_dump(in_array(0, [1=>"c16"])); // returns true
2015-12-14 23:33:12 +01:00
Adam Engebretson
4c9b44a817
Extracting Components to Trait & Adding to Forms
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-02 02:15:22 -06:00
Adam Engebretson
4dca637a23
Merge branch 'master' of github.com:LaravelCollective/html
2015-12-01 04:02:52 -06:00
Adam Engebretson
3e6729614c
Fixing Tests
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 03:52:30 -06:00
Adam Engebretson
a5ce692fd7
Merge pull request #121 from LaravelCollective/analysis-qyPlGX
...
Applied fixes from StyleCI
2015-12-01 03:52:06 -06:00
Adam Engebretson
0946c7f0a3
Applied fixes from StyleCI
2015-12-01 04:45:27 -05:00
Adam Engebretson
68f2a68c47
Fixing CS
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 03:44:46 -06:00
Adam Engebretson
5b7668573d
Adding FormAccessible Trait
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 03:41:47 -06:00
Adam Engebretson
e70854b523
Returning HtmlStrings [html]
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 02:03:53 -06:00
Adam Engebretson
29efd5ae14
Returning HtmlStrings [form]
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 01:58:43 -06:00
Adam Engebretson
24d14f259d
Formatting
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 01:46:08 -06:00
Adam Engebretson
c772164bff
Allowing default component values
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 01:44:34 -06:00
Adam Engebretson
c4ae1f54de
Tidying
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 00:44:13 -06:00
Adam Engebretson
53b8b23bf9
Protecting a method
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 00:36:40 -06:00
Adam Engebretson
d2b7e24d72
Starting Html Components
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 00:35:47 -06:00
Adam Engebretson
46409f294e
Incrementing for 5.2
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 00:35:36 -06:00