I am trying to change the width and height of a form input (TextInput). The code for creating the form input is below:
var input5 = new TextInput({
"id": "input5",
"value": "$form.ID$",
"el": $('#input5')
}, {tokens: true}).render();
I would have assumed I'd be able to change the width and height by simply including something like the code below, but nothing has worked so far.
var input5 = new TextInput({
"id": "input5",
"value": "$form.ID$",
"style": "width:400px; height:300px",
"el": $('#input5')
}, {tokens: true}).render();
How would I change the width and height of a TextInput?
... View more