Frontend: licence_number>number, password update enabled

This commit is contained in:
Alex
2025-02-08 18:26:34 +01:00
parent cce2866b52
commit 32a473fe29
6 changed files with 28 additions and 21 deletions

View File

@@ -18,6 +18,7 @@
email: '',
first_name: '',
last_name: '',
password: '',
phone: '',
address: '',
zip_code: '',
@@ -43,7 +44,7 @@
licence: {
id: 0,
status: 1,
licence_number: '',
number: '',
issued_date: '',
expiration_date: '',
country: '',
@@ -83,14 +84,6 @@
// $: isNewUser = user === null;
$: isLoading = user === undefined;
$: {
console.log('incomingUser:', user);
}
// Add debug logging for user
$: {
console.log('processed user:', user);
}
/** @type {App.Locals['licence_categories']} */
export let licence_categories;
@@ -345,7 +338,7 @@
name="user[licence][number]"
type="text"
label={$t('licence_number')}
bind:value={localUser.licence.licence_number}
bind:value={localUser.licence.number}
placeholder={$t('placeholder.licence_number')}
toUpperCase={true}
/>