empty strings or zero will be converted to null

This commit is contained in:
2024-09-11 11:49:47 +02:00
parent 83307684ee
commit fe759f953f
5 changed files with 19 additions and 17 deletions

View File

@@ -7,7 +7,7 @@
<div class="md:col-span-2">
<label for="email" class="block text-sm font-medium text-gray-700">E-mail (required)</label>
<input type="email" id="email" name="email" [(ngModel)]="user.email" disabled class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500" />
<p class="text-xs text-gray-500 mt-1">You can only modify your email by contacting us at support&#64;bizwatch.net</p>
<p class="text-xs text-gray-500 mt-1">You can only modify your email by contacting us at support&#64;bizmatch.net</p>
</div>
@if (isProfessional || isAdmin()){
<div class="flex flex-row items-center justify-around md:space-x-4">