kotose-form-kmp
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kotose-form-kmp
kotose-form-phone
/
io.github.robinpcrd.kotose.form.fields
/
PhoneData
Phone
Data
@
Immutable
data
class
PhoneData
(
val
country
:
Country
=
getCountryForRegion(CountryConfiguration.defaultRegion.region)
,
val
phone
:
String
=
""
)
:
RequiredValue
Members
Constructors
Phone
Data
Link copied to clipboard
constructor
(
country
:
Country
=
getCountryForRegion(CountryConfiguration.defaultRegion.region)
,
phone
:
String
=
""
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
country
Link copied to clipboard
val
country
:
Country
formatted
Link copied to clipboard
val
formatted
:
String
?
Returns the phone number in international format, without a dial code when there is none.
is
Empty
For
Required
Link copied to clipboard
open
override
val
isEmptyForRequired
:
Boolean
phone
Link copied to clipboard
val
phone
:
String