Matt Lantz
777b6d3908
Merge branch '5.6' into 5.7
2018-09-05 14:32:53 -04:00
Tautvydas
974605fcd2
Allow sub-select to be iterable to accept array and collection ( #540 )
2018-06-18 08:04:16 -07:00
ThunderbirdsX3
fda9d3dad8
Can set class attribute in array. ( #521 )
...
In case of you want to add class by condition.
```
Form::text('name', null, ['class' => [
'form-control-,
$error ? 'is-invalid' : '',
]]);
```
2018-05-30 09:09:07 -07:00
Victor Isadov
6d1ccebb53
Make Request optional ( #522 )
...
* Make Request optional
* StyleCI
2018-05-30 09:07:28 -07:00
Drew
42c0854e00
Add range, month, week. ( #520 )
...
* Added range, month, week.
* Added URL test.
* Removed duplicate function testFormFile.
2018-05-10 10:15:15 -07:00
Drew
327cff9376
Added range, month, week. ( #519 )
2018-05-04 09:08:46 -07:00
Gabriel Caruso
38f2c6ff0d
Update to PHPUnit 7.1 ( #511 )
2018-04-26 09:09:18 -07:00
Jose Raul Pérez
4f3ba9fac1
create datalist form element ( #516 )
2018-04-26 09:08:57 -07:00
ilyadrv
623a150c91
Placeholder for select element not hidden anymore ( #493 ) ( #499 )
...
* Placeholder for select element not hidden anymore (#493 )
* Fix tests for placeholder select element without hidden attribue
2018-03-16 09:57:31 -07:00
Devin
5060a6641d
Fixed bug with radio button not being checked ( #501 )
...
* Fixed bug with radio button not being checked
Fixes: https://github.com/LaravelCollective/html/issues/496
Loose comparison needs to be done because Laravel model casting may be in affect and therfore 1 == true and 0 == false.
* typo
2018-03-16 09:57:16 -07:00
Anderson Friaça
41cd9291a6
[5.6] Validation in select field for boolean value of selected option ( #491 )
2018-02-12 06:19:42 -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
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
Drew
f380cdc14d
Added $optgroupsAttributes parameter to select method.
2017-09-08 21:20:14 -07:00
mlantz
c33e621a49
Updated test
2017-08-12 11:52:25 -04:00
Vendin
0c1a869f4c
Fix select for old input
2017-06-26 17:50:42 +03:00
mlantz
5dd169b33d
Macro test
2017-05-21 23:24:43 -04: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
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
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
Matt Lantz
c3215d304a
Merge pull request #170 from lanort/patch-3
...
FormBuilderTest: testSelect: added test for '0'-key option
2017-05-20 13:43:33 -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
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
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
856e1e6d6b
Fixes for escape issue
2017-04-20 00:02:24 -04:00
darthrevan13
cd06dfffb3
Update FormBuilderTest.php
2017-02-19 13:54:13 +02: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
Stefan Roehle
92f3ba71c5
updates for Laravel 5.4
2017-01-05 18:52:43 +01:00
Stefan Printezis
df0e112720
Less ambiguous test samples for the select options and placeholder
2016-10-30 01:21:38 +02:00
Stefan Printezis
c1a105975b
Values are encoded consistently by the formbuilder and the htmlbuilder
2016-10-28 12:37:15 +02:00
darthrevan13
e8ca58357c
changed test unit to reflect placeholder changes
2016-09-27 19:27:44 +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
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
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