I am trying to make text boxes bigger and wrap text within them for a comments field that will contain a lot of characters. I have found one thread, I may doing it incorrectly but I doesn't seem to be working. Any help is greatly appreciated.
Solved! Go to Solution.
Cameron,
The web maps attribute configuration take presidence over the setting in the edit widgets config.json. So open the web map in AGOL map viewer and choose to configure popups for your layer and choose the field you want to be multi-line and choose the "Configure Attributes" link and then choose textbox type = Multiple Line. Save your changes and now the edit widget will display that field as a text area in the edit widgets popup. You can then edit the css rule to set the height of all text areas in the edit widgets css rules:
/*textArea*/
.jimu-widget-edit-infoWindow .esriAttributeInspector .dijitTextBox.dijitTextArea {
height: 32px;
}
Cameron,
The web maps attribute configuration take presidence over the setting in the edit widgets config.json. So open the web map in AGOL map viewer and choose to configure popups for your layer and choose the field you want to be multi-line and choose the "Configure Attributes" link and then choose textbox type = Multiple Line. Save your changes and now the edit widget will display that field as a text area in the edit widgets popup. You can then edit the css rule to set the height of all text areas in the edit widgets css rules:
/*textArea*/
.jimu-widget-edit-infoWindow .esriAttributeInspector .dijitTextBox.dijitTextArea {
height: 32px;
}
Robert,
Thank you a ton this was the step I was missing.
Hi,
I am also trying to make the text box in an Experience builder edit widget multi line for notes with a lot of characters. I have followed the steps bellow using map viewer classic however it does not seem to be working. I realise this post many years old.
Is their a more up to date solution to making the edit widget text boxes multi line?