GitHub user corneadoug opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/623
Pass defaultValue parameter to z.select
### What is this PR for?
This PR is to fix the `z.select()` defaultValue
### What type of PR is it?
Bug Fix
### Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-581
### How should this be tested?
If you run:
```
val selected = z.select("formName", "option1", Seq(("option1",
"option1DisplayName"), ("option2", "option2DisplayName")))
println(selected)
```
you should see: `res27: Object = option1`
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/corneadoug/incubator-zeppelin
fix/selectDisplayFormDefaultValue
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/623.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #623
----
commit 15b4199ba15f662ddbfc272a09825ab331ba65e8
Author: Damien CORNEAU <[email protected]>
Date: 2016-01-12T08:27:13Z
Pass defaultValue parameter to z.select
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---