Skip to content

Commit

Permalink
Modified readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Robert committed Jan 17, 2022
1 parent 8e8714f commit e4966bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,13 @@ class SampleForm extends Form
$this->builder->raw('<br>'),

$this->builder->select(
// Select attributes
['name' => 'selectname'],

['inputValue' => 'displayName', 'anotherInputValue' => 'displayName'],
// Options
['optionValue' => 'displayName', 'anotherOptionValue' => 'displayName'],

// Optional. Default value.
// Default option. This is optional.
'inputValue'
),

Expand Down

0 comments on commit e4966bc

Please sign in to comment.