Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit c1ca731

Browse files
committed
Update README.md
Related issue: #24
1 parent ec8e4dd commit c1ca731

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,12 @@ Sets the default dropdown item on initialisation. The value can be a the value o
153153

154154
##### onChange (eventHandler)
155155

156-
onChange: function(event, value, requiredValues) { }
156+
onChange: function(event, value, requiredValues, requirementsMet) { }
157157

158158
<sub>Added: 1.0.0</sub>
159+
<sub>Updated: 1.1.6</sub>
159160

160-
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.
161+
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.
161162

162163
## Server-side implementation
163164

0 commit comments

Comments
 (0)