From e975a2451ae3c5f6eb62bfbfea33be3bb9f2cb14 Mon Sep 17 00:00:00 2001 From: Koza Date: Mon, 11 Jul 2022 10:17:27 +0200 Subject: Add `hideDropDown` alias for `showDropDown` setting, as the latter is confusing to use (because its logic seems inverted). --- examples/list_validation_example.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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', -- cgit v1.2.3