Hi,
I have set up an "IN" SQL statement using the enhanced search widget. To make it easier for users to input data, I want to have a text area instead of a single line input.
Here are the snippets of code I modified:
Inside SingleParameter.html ---
<input data-dojo-attach-point="stringTextBox" data-dojo-type="dijit/form/Textarea" data-dojo-props="trim:true" style="display:none;width:100%;height:90px;" class="dijit-form-Textarea" />
Inside Widget.js ---
define(['dijit/form/Textarea'],
function (Textarea)
But I can't get the text wrapped by the container.
Any help will be greatly appreciated!
Thank you,
Lesi
Solved! Go to Solution.
Lesi,
Here is what I added to the SingleParameter.html
<input data-dojo-attach-point="stringTextBox" data-dojo-type="dijit/form/Textarea" data-dojo-props="trim:true" style="display:none;width:100%;height:90px;" class="eSearch-Textarea" />
and What you added to the SingleParameter.js is fine
Next add this css rule to the style.css
.eSearch-Textarea { height: 90px !important; }
Lesi,
Here is what I added to the SingleParameter.html
<input data-dojo-attach-point="stringTextBox" data-dojo-type="dijit/form/Textarea" data-dojo-props="trim:true" style="display:none;width:100%;height:90px;" class="eSearch-Textarea" />
and What you added to the SingleParameter.js is fine
Next add this css rule to the style.css
.eSearch-Textarea { height: 90px !important; }
Thank you, Robert! Your code works perfectly!