1
0
Fork 0

Changed description input filed text to textarea

This commit is contained in:
Tobias Herre 2024-07-24 11:46:57 +02:00
parent e69105fdd7
commit fb72d4e8a5
1 changed files with 3 additions and 2 deletions

View File

@ -155,7 +155,8 @@ function getUploadField(rid)
return uf; return uf;
} }
// old input field
//+ `<input class="tab_input" name="desc[${rid}]" type="text" placeholder="` + expenses_table_description_placeholder + `"/>`
function getRow(rid,num) { function getRow(rid,num) {
var cur = document.getElementById("currency").value; var cur = document.getElementById("currency").value;
@ -167,7 +168,7 @@ function getRow(rid,num) {
+ `<input class="tab_input" name="date[${rid}]" value="" type="date" placeholder="Datum*"/>` + `<input class="tab_input" name="date[${rid}]" value="" type="date" placeholder="Datum*"/>`
+ "</td>" + "</td>"
+ "<td data-label=\"Beschr.\">" + "<td data-label=\"Beschr.\">"
+ `<input class="tab_input" name="desc[${rid}]" type="text" placeholder="` + expenses_table_description_placeholder + `"/>` + `<textarea class="tab_input" name="desc[${rid}]" >` + `</textarea>`
+ "</td>" + "</td>"
+ "<td data-label=\"Betrag\">" + "<td data-label=\"Betrag\">"
+ `<input class="tab_input" name="amount[${rid}] type="text" placeholder="0.00"/>` + `<input class="tab_input" name="amount[${rid}] type="text" placeholder="0.00"/>`