From 1607c6eddbe720ec788acd5e82d9943760981208 Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Sun, 29 May 2016 20:25:04 -0700 Subject: [PATCH] remove getOptionValue() --- src/components/Select.vue | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/components/Select.vue b/src/components/Select.vue index 1d07d56..f3d3157 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -418,21 +418,6 @@ return this.value === option }, - /** - * If the selected option has option['value'] return it. - * Otherwise, return the entire option. - * @param {Object||String} option - * @return {Object||String} - * @deprecated will be removed in 1.0.8 - */ - getOptionValue( option ) { - if( typeof option === 'object' && option.value ) { - return option.value; - } - - return option; - }, - /** * Generate the option label text. If {option} * is an object, return option[this.label].