update leader sign up form
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
let {
|
||||
name,
|
||||
value = $bindable<PhoneNumber | undefined>(undefined),
|
||||
number = $bindable(''), // consider making this private, it should only be used internally
|
||||
country = $bindable<ICountry | undefined>(), // consider making this private, it should only be used internally
|
||||
defaultISO,
|
||||
required = false,
|
||||
@@ -18,7 +17,6 @@
|
||||
}: {
|
||||
name: string;
|
||||
value?: PhoneNumber;
|
||||
number?: string;
|
||||
country?: ICountry;
|
||||
defaultISO?: string;
|
||||
required?: boolean;
|
||||
@@ -137,7 +135,6 @@
|
||||
type="tel"
|
||||
{placeholder}
|
||||
name="{name}_number"
|
||||
bind:value={number}
|
||||
validate={{
|
||||
required: required,
|
||||
func: () => !required || (value !== undefined && value.isValid())
|
||||
|
||||
Reference in New Issue
Block a user