How to add html elements with custom script #213
Replies: 2 comments 7 replies
-
can you show me? have you tried
this is yamls way of multiline. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm trying to add an html component in my form playbook: dummy.yaml
name: Test
type: ansible
fields:
- type: html
name: alert
expression: >
function helloworld()
{
alert("hello world")
}
'<button onclick=helloworld()>click me</button>'
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to add a create a function that has multiple usage of double quotes and single quotes along with `
but I'm restricted to keep everything inside single quote in the expression as per the documentation.
so I have to again update my code to escape all quotes , that too doesn't work.
Beta Was this translation helpful? Give feedback.
All reactions