Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Related issue: #24
  • Loading branch information
dnasir committed Mar 3, 2014
1 parent ec8e4dd commit c1ca731
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,12 @@ Sets the default dropdown item on initialisation. The value can be a the value o

##### onChange (eventHandler)

onChange: function(event, value, requiredValues) { }
onChange: function(event, value, requiredValues, requirementsMet) { }

<sub>Added: 1.0.0</sub>
<sub>Updated: 1.1.6</sub>

Event handler triggered when the dropdown value is changed. The event handler is passed the event object, the value of the current dropdown, and an object containing the values of all the required dropdowns.
Event handler triggered when the dropdown value is changed. The event handler is passed the event object, the value of the current dropdown, and an object containing the values of all the required dropdowns. A boolean value indicating whether the requirements for a particular dropdown have been met or not is also passed.

## Server-side implementation

Expand Down

0 comments on commit c1ca731

Please sign in to comment.