From b16eca099ffb81dab61bf8def875427d42fb845b Mon Sep 17 00:00:00 2001 From: n1474335 Date: Tue, 31 Jan 2017 18:46:14 +0000 Subject: [PATCH] Updated Adding a new operation (markdown) --- Adding-a-new-operation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adding-a-new-operation.md b/Adding-a-new-operation.md index b043e8c..f77f14d 100644 --- a/Adding-a-new-operation.md +++ b/Adding-a-new-operation.md @@ -117,7 +117,7 @@ Operation arguments (ingredients) can be set to any of the following types: - Given an array of `{name: "", value: ""}` objects, the user is presented with an editable dropdown menu. The items in the dropdown are labelled with `name` and set the argument to `value` when selected. 9. `toggleString` - User is presented with a string input box with a toggleable dropdown attached. - - Populate the dropdown using the `toggle_values` property. + - Populate the dropdown using the `toggleValues` property. - Operation receives an object with two properties: `option` containing the user's dropdown selection, and `string` containing the input box contents. - Particularly useful for arguments that can be specified in various different formats. - See the *XOR* configuration in `src/js/config/OperationConfig.js` for an example of how this works.