mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
### What is this PR for? Added dynamic forms for Note. All paragraphs has access to note forms. ### What type of PR is it? [Feature] ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1363 ### How should this be tested? Create global interpreter JDBC and Spark. Create note with 2 paragraphs ``` %pyspark print("Textbox paragraph " + z.textbox('input', 'default')) print("Textbox note " + z.noteTextbox('note_input', 'default_note')) print("Select paragraph " + z.select("sel", [("1","opt1"), ("2","opt2"), ("3","opt3")])) print("Select note " + z.noteSelect("sel_note", [("1","noteOpt1"), ("2","noteOpt2"), ("3","noteOpt3")])) options = [("key1","Name1"), ("key2","Name2")] print("Checkbox paragraph "+ " and ".join(z.checkbox("chk", options, ["key1"]))) print("Checkbox note "+ " and ".join(z.noteCheckbox("chk_note", options, ["key1","key2"]))) ``` ``` %jdbc select '$${checkbox:chk_note=key1|key2,key1|key2} $${note_input} ${note_input=sameName}' ``` ### Screenshots (if appropriate) 1) native forms  2) remove  3) simple forms  ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: tinkoff-dwh <tinkoff.dwh@gmail.com> Closes #2641 from tinkoff-dwh/ZEPPELIN-1363 and squashes the following commits: |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||