Frontend: licence_number>number, password update enabled
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user