Skip to content
This repository
Browse code

Updating API docs for FormHelper::input() fixes #1649

  • Loading branch information...
commit 9f51c4ccfceeb023247d8e20e8d99275b4acdc57 1 parent 2c4ed9b
Mark Story authored April 13, 2011

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  cake/libs/view/helpers/form.php
4  cake/libs/view/helpers/form.php
@@ -678,7 +678,9 @@ function inputs($fields = null, $blacklist = null) {
678 678
  * ### Options
679 679
  *
680 680
  * See each field type method for more information. Any options that are part of
681  
- * $attributes or $options for the different **type** methods can be included in `$options` for input().
  681
+ * $attributes or $options for the different **type** methods can be included in `$options` for input().i
  682
+ * Additionally, any unknown keys that are not in the list below, or part of the selected type's options
  683
+ * will be treated as a regular html attribute for the generated input.
682 684
  *
683 685
  * - `type` - Force the type of widget you want. e.g. `type => 'select'`
684 686
  * - `label` - Either a string label, or an array of options for the label. See FormHelper::label()

0 notes on commit 9f51c4c

Please sign in to comment.
Something went wrong with that request. Please try again.