trims the student information so that the value is falsy in javascript

This commit is contained in:
Simon Gschnell
2023-12-19 15:49:57 +01:00
parent 8666dbe3a6
commit 9c69d8cc46
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -639,7 +639,7 @@ class Profil extends Auth_Controller
$res->mittel = $betriebsmittelperson_res;
$res->matrikelnummer = $matr_res->matr_nr;
foreach($student_res as $key => $value){
$res->$key = $value;
$res->$key = trim($value);
}
$res->zuttritsgruppen = $zutrittsgruppe_res;
@@ -366,9 +366,9 @@ export default {
<div class="row">
<div v-for="(wert,bez) in specialData" class="col-md-6 col-sm-12 ">
<div class=" form-floating mb-2">
<input readonly class="form-control form-control-plaintext border-bottom" :id="'floating'+bez" :value="wert?wert:'-'">
<label :for="'floating'+bez">{{bez}}</label>
</div>