Jeff G created ZEPPELIN-3838:
--------------------------------
Summary: Input function example code incorrect on "What is Dynamic
Form" page
Key: ZEPPELIN-3838
URL: https://issues.apache.org/jira/browse/ZEPPELIN-3838
Project: Zeppelin
Issue Type: Bug
Components: documentation
Affects Versions: 0.8.0
Reporter: Jeff G
No biggie, but this burned me briefly.. The documentation page is where i was
looking for the standard textbox (I couldn't remember the exact syntax)
Anyway, I looked here:
https://zeppelin.apache.org/docs/0.8.0/usage/dynamic_form/intro.html#creates-programmatically-scope-paragraph
I switched from the Scala to Python in the example block, copied & pasted and
got an error
<console>:26: error: value textbox is not a member of
org.apache.zeppelin.spark.ZeppelinContext
Then i looked back at the documentation page and saw that there is an image
with the code working. The image has z.input, but the code for copy/paste has
z.textbox.
Once I changed to z.input, everything worked great. I just wanted to report
this issue so the next person doesn't get momentarily confused by this
discrepancy between the image of the code that works and the code that is
available for copy/paste that is incorrect.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)