summaryrefslogtreecommitdiffhomepage
path: root/examples/list_validation_example.md
diff options
context:
space:
mode:
authorKoza <[email protected]>2022-07-11 10:17:27 +0200
committerStefan Daschek <[email protected]>2022-07-12 13:11:24 +0200
commite975a2451ae3c5f6eb62bfbfea33be3bb9f2cb14 (patch)
tree963e91ace302a893188d1e1a79d91958e5d11996 /examples/list_validation_example.md
parentb9b59ab3e115cde48252fb7f7eec741c20a31ea4 (diff)
downloadcaxlsx-e975a2451ae3c5f6eb62bfbfea33be3bb9f2cb14.tar.gz
caxlsx-e975a2451ae3c5f6eb62bfbfea33be3bb9f2cb14.zip
Add `hideDropDown` alias for `showDropDown` setting, as the latter is confusing to use (because its logic seems inverted).
Diffstat (limited to 'examples/list_validation_example.md')
-rw-r--r--examples/list_validation_example.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/list_validation_example.md b/examples/list_validation_example.md
index 7c44fc2c..cf375c08 100644
--- a/examples/list_validation_example.md
+++ b/examples/list_validation_example.md
@@ -40,7 +40,7 @@ wb.add_worksheet(name: 'Basic Worksheet') do |sheet|
sheet.add_data_validation('B3:B3',
type: :list,
formula1: '"north, east, south, west"',
- showDropDown: true, # Note that this does in fact *hide* the dropdown.
+ hideDropDown: true,
showErrorMessage: true,
errorTitle: '',
error: 'Allowed values: north, east, south, west',