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
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
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
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