Components
Mobile input
Examples of mobile input with built-in validation.
<Form isVertical onSubmit={function noRefCheck() {}} onValidate={function noRefCheck() {}} > <MobileInput name="mobileExample1" onChange={function noRefCheck() {}} value="0701122333" /> <Button block className="margin-xs-top-3" inverted type="submit" > Validera </Button> <p> Open console to view validations </p> </Form>
Properties
MobileInput
| Prop name | Type | Default Value | Description |
|---|---|---|---|
| errorMessageDefault | string | 'Ogiltigt format på mobilnumret' | |
| errorMessageRequired | string | 'Du måste ange ett mobilnummer' | |
| isRequired | bool | true | |
| label | string | 'Ange mobilnummer' | |
| helpMessage | string | ||
| infoMessage | string | ||
| isLessSpace | bool | ||
| name * | string | ||
| onBlur | func | ||
| onChange * | func | ||
| onFocus | func | ||
| value * | string |
Accessibility
This component has been validated to meet the WCAG 2.1 AA accessibility guidelines.
