lib/rubyXL/objects/data_validation.rb in rubyXL-3.4.14 vs lib/rubyXL/objects/data_validation.rb in rubyXL-3.4.15
- old
+ new
@@ -9,9 +9,11 @@
define_attribute(:type, RubyXL::ST_DataValidationType, :default => 'none')
define_attribute(:errorStyle, RubyXL::ST_DataValidationErrorStyle, :default => 'stop')
define_attribute(:imeMode, RubyXL::ST_DataValidationImeMode, :default => 'noControl')
define_attribute(:operator, RubyXL::ST_DataValidationOperator, :default => 'between')
define_attribute(:allowBlank, :bool, :default => false)
+ # Documentation lies. This property should have been called "HIDE dropdown",
+ # since that's what happens when it is set to true.
define_attribute(:showDropDown, :bool, :default => false)
define_attribute(:showInputMessage, :bool, :default => false)
define_attribute(:showErrorMessage, :bool, :default => false)
define_attribute(:errorTitle, :string)
define_attribute(:error, :string)