v-phone-input / VPhoneInputMessagesComposableOptions
Interface: VPhoneInputMessagesComposableOptions<Country>
Defined in: dist/types.d.ts:162
Internal
Options for usePhoneInputMessages composable.
Extends
Type Parameters
Country
Country extends VPhoneInputCountryObject
Properties
ariaLabel?
readonlyoptionalariaLabel:MaybeRef<VPhoneInputMessage<Country,undefined> |null|undefined>
Defined in: dist/props/makePhoneInputMessagesProps.d.ts:43
Customize the phone input aria-label.
Inherited from
VPhoneInputExtractComposableOptions.ariaLabel
country
readonlycountry:MaybeRef<Country>
Defined in: dist/types.d.ts:166
Country to resolve messages with.
countryAriaLabel?
readonlyoptionalcountryAriaLabel:MaybeRef<VPhoneInputMessage<Country> |null|undefined>
Defined in: dist/props/makePhoneInputMessagesProps.d.ts:58
Customize the country input aria-label.
Default Value
'Country for <label>'
Inherited from
VPhoneInputExtractComposableOptions.countryAriaLabel
countryLabel?
readonlyoptionalcountryLabel:MaybeRef<VPhoneInputMessage<Country> |null|undefined>
Defined in: dist/props/makePhoneInputMessagesProps.d.ts:49
Customize the country input label.
Inherited from
VPhoneInputExtractComposableOptions.countryLabel
example?
readonlyoptionalexample:MaybeRef<VPhoneInputMessage<Country,undefined,undefined> |undefined>
Defined in: dist/props/makePhoneInputMessagesProps.d.ts:28
Customize the phone input example.
Default Value
Use awesome-phonenumber package's getExample function with current country.
Inherited from
VPhoneInputExtractComposableOptions.example
exampleFormat?
readonlyoptionalexampleFormat:MaybeRef<PhoneNumberFormat|null|undefined>
Defined in: dist/props/makePhoneInputMessagesProps.d.ts:19
Format example phone.
Remarks
Using null will disable formating example phone numbers.
Default Value
displayFormat value if available, 'national' otherwise.
Inherited from
VPhoneInputExtractComposableOptions.exampleFormat
invalidMessage?
readonlyoptionalinvalidMessage:MaybeRef<VPhoneInputMessage<Country> |null|undefined>
Defined in: dist/props/makePhoneInputMessagesProps.d.ts:74
Customize the phone input invalid message returned by the validate function generated rule.
Default Value
'The "<label>" field is not a valid phone number (example: <example>).'
Inherited from
VPhoneInputExtractComposableOptions.invalidMessage
label?
readonlyoptionallabel:MaybeRef<VPhoneInputMessage<Country,undefined> |undefined>
Defined in: dist/props/makePhoneInputMessagesProps.d.ts:37
Customize the phone input label.
Default Value
'Phone'
Inherited from
VPhoneInputExtractComposableOptions.label
placeholder?
readonlyoptionalplaceholder:MaybeRef<VPhoneInputMessage<Country> |null|undefined>
Defined in: dist/props/makePhoneInputMessagesProps.d.ts:64
Customize the phone input placeholder.
Inherited from
VPhoneInputExtractComposableOptions.placeholder