Panacea
Panacea is the collection of vanilla Javascript components and services created to enable our developers to use whatever Javascript framework they want while still maintaining a single codebase for these components and services.
Custom Components
Phone input with forced country and type
<input
class='form-control'
value='0032 475 92 80 29'
data-component='cm-phone-input'
data-options="{locale:'nl',forceType:'mobile',country:'BE',forceCountry:true}"
placeholder='type your phone number'
type='text'>
data-options="{
locale:'nl',
forceType:'mobile',
country:'BE',
forceCountry:true
}"
Phone input with forced country
<input
class='form-control'
value='0032 475 92 80 29'
data-component='cm-phone-input'
data-options="{locale:'fr',country:'BE'}"
placeholder='type your phone number'
type='text'>
data-options="{
locale:'fr',
country:'BE'
}"
Normal phone input
<input
class='form-control'
value='0032 475 92 80 29'
data-component='cm-phone-input'
placeholder='type your phone number'
type='text'>