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
Victor Isadov
45fe4e7988
Add Request support
2016-08-13 11:57:01 +03:00
Matt Lantz
bcf0697d7d
Merge pull request #191 from aygee/get-form-value-related-model
...
Getting form value from related model
2016-06-19 01:01:55 -04:00
Matt Lantz
d79805ade4
Merge pull request #193 from JamesAlday/5.2-link-fix
...
Make escaping of labels for HTML and mailto links optional
2016-06-10 15:16:34 -04:00
James Alday
24ee0aadc0
StyleCI fixes - remove empty line after class declaration
2016-06-10 15:12:35 -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
Adrian Gunawan
a3d42da280
Transform the field name when getting the form value from model
2016-05-14 20:50:52 +10:00
Stefan Printezis
d65deb4e77
Html escaping is now optional for labels
2016-03-23 13:13:50 +01:00
Rafael Renan Pacheco
df8acc24bb
Avoid using session to build form
2016-02-01 09:32:17 -02:00
Antonio Carlos Ribeiro
0e8e2dbc67
Remove uneeded use.
2016-01-26 21:39:03 -02:00
Adam Engebretson
c88b2d59a5
Revert "[5.2] Use toArray() for Model Object Value"
...
This reverts commit e7db3dd11a .
2016-01-16 10:54:49 -06:00
Dennis Oderwald
e7db3dd11a
[5.2] Use toArray() for Model Object Value
2015-12-23 22:28:01 +01: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
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
2516472b3f
Merge pull request #97 from patrickbrouwers/patch-2
...
Don't depend on concretes in FormBuilder
2015-11-28 02:26:44 -06:00
Mulia Arifandi Nasution
b6b3693586
Add color input type
2015-11-28 15:21:36 +07:00
Martin Bean
cea1f619b3
Add datetime input types
2015-11-06 13:44:42 +00:00
Patrick Brouwers
9ab4568241
Don't depend on concretes in FormBuilder
2015-10-08 10:08:07 +02:00
Adam Engebretson
017d60144f
Applied fixes from StyleCI
2015-09-03 13:18:42 -04:00
Adam Engebretson
8b7c357e78
Merge pull request #78 from vlakoff/form-builder
...
Don't double escape in Form::option()
2015-09-03 12:16:48 -05:00
vlakoff
7c02a4f0fd
Don't double escape in Form::option()
...
html->attributes() already does the escaping.
2015-09-03 09:48:35 +02:00
alexandre-butynski
de73798e3e
Merge 'Checkboxes work with relationships' into 5.1
2015-08-10 11:22:00 +02:00
Jean Rumeau
af7663294a
Update FormBuilder.php
2015-07-22 23:30:04 -03:00
Adam Engebretson
fb7693cf4b
Renaming "optional" to "placeholder" Re: #60
...
Signed-off-by: Adam Engebretson <adam@enge.me >
2015-07-22 16:00:12 -05:00
Adam Engebretson
9c4fea1f04
Adding Optional Placeholder for Selects Re: #60
...
Signed-off-by: Adam Engebretson <adam@enge.me >
2015-07-22 14:05:21 -05:00
Kirk Franklin
501aea5374
Added tel input type and test
2015-07-10 12:30:01 -07:00
Greg Duckworth
42a626c23e
Add time input
...
Added time input
2015-07-01 13:52:44 +01:00
alexandre-butynski
f6d0f1c5c4
Checkboxes work with relationships (with unit testing and proper formatting)
2015-06-01 18:57:42 +02:00
pazzoone
ebe5123467
Bug on FromBuilder.php
...
HOW TO REPRODUCE BUG:
I have an m:m relation in my isolated form.
This relation si rendered by a list of checkboxes.
Checkboxes names are in the form form_name[relation_name][]
BUG:
Form checkboxes autofill functionalities works well only when:
1. On new form (method=get)
2. On posting some errors
ERROR:
On edit form data the autofill functionalities wont' work because $posted is a Collection, so my edit.
2015-05-14 20:40:11 +02:00
Tom
a0a763779d
Merge pull request #33 from garygreen/fix-model-bindings
...
Fix model form-binding with array with objects and object with arrays.
2015-05-06 08:48:56 -07:00
Tom
3166c19203
Merge pull request #34 from garygreen/fix-docblocks
...
Fix some docblock returns
2015-05-06 07:17:50 -07:00
Gary
daae1062da
Fix some docblock returns
2015-04-25 13:19:56 +01:00
Gary
e4b32919a3
Fix model form-binding with array with objects and object with arrays.
2015-04-25 13:14:08 +01:00
Joseph Silber
d07675dc0d
Use DateTime
2015-03-01 16:37:25 -05:00
Robin Malfait
d5618c3b22
Adding Carbon support
2015-02-20 17:07:06 +01:00
Robin Malfait
3cd9e81140
Adding date form input.
2015-02-20 16:56:57 +01:00
Dries Vints
6a4f601e8b
Add number input field. Fixes #4
2015-02-19 15:15:32 +01:00