Lee moon soo created ZEPPELIN-1363: -------------------------------------- Summary: Introduce Note level dynamic form Key: ZEPPELIN-1363 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1363 Project: Zeppelin Issue Type: New Feature Reporter: Lee moon soo Fix For: 0.7.0
Currently, dynamic form is created per paragraph. Either by {{FormType.SIMPLE}}, e.g. {code} select * from data where key > ${minKey=10} {code} or {{FormType.NATIVE}}, e.g. {code} val formValue = z.input("minKey", 10) {code} And the dynamic form only update the paragraph who defined the form. But sometimes, updating entire note by changing single dynamic form is useful. So, how about introduce note level dynamic form? *Note Level Dynamic Form* Note Level Dynamic form is created on top of the Note, always. No matter which paragraph defines it. And no matter how many paragraphs define the same form, form is displayed only once. Once user updates dynamic form, all the paragraphs in the note will run. {{FormType.SIMPLE}}, use double {{$$}} instead of single {{$}} to define Note level dynamic form {code} select * from data where key > $${minKey=10} {code} {{FormType.NATIVE}}, use {{z.noteInput()}} instead of {{z.input()}} to define Note level dynamic form {code} val formValue = z.noteInput("minKey", 10) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)