We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b2a412 + 7bf73e6 commit d573c83Copy full SHA for d573c83
1 file changed
zeppelin-interpreter/src/main/java/org/apache/zeppelin/display/GUI.java
@@ -103,7 +103,7 @@ public Object password(String id) {
103
* element will be used as the actual default value.</p>
104
*/
105
public Object select(String id, ParamOption[] options, Object defaultValue) {
106
- if (defaultValue instanceof Collection && !(defaultValue instanceof String)) {
+ if (defaultValue instanceof Collection) {
107
Collection<?> values = (Collection<?>) defaultValue;
108
defaultValue = values.isEmpty() ? null : values.iterator().next();
109
}
0 commit comments