@@ -2,7 +2,7 @@ import fecha from "fecha";
2
2
3
3
import { validators } from "../../../src" ;
4
4
5
- let customAsyncValidator = function ( value ) {
5
+ let customAsyncValidator = function ( value ) {
6
6
return new Promise ( ( resolve , reject ) => {
7
7
setTimeout ( ( ) => {
8
8
if ( value ) resolve ( ) ;
@@ -39,7 +39,7 @@ export default {
39
39
required : true ,
40
40
help : "First name of user" ,
41
41
placeholder : "User's first name" ,
42
- styleClasses : "half-width" ,
42
+ styleClasses : "half-width col-xs-12 col-sm-6 " ,
43
43
validator : validators . string ,
44
44
onChanged ( model , newVal , oldVal ) {
45
45
console . log ( `Model's name changed from ${ oldVal } to ${ newVal } . Model:` , model ) ;
@@ -56,7 +56,7 @@ export default {
56
56
featured : true ,
57
57
required : true ,
58
58
placeholder : "User's last name" ,
59
- styleClasses : "half-width" ,
59
+ styleClasses : "half-width col-xs-12 col-sm-6 " ,
60
60
validator : validators . string
61
61
} ,
62
62
{
@@ -387,14 +387,14 @@ export default {
387
387
{
388
388
classes : "btn-location" ,
389
389
label : "Current location" ,
390
- onclick : function ( model ) {
390
+ onclick : function ( model ) {
391
391
return this . $parent . getLocation ( model ) ;
392
392
}
393
393
} ,
394
394
{
395
395
classes : "btn-clear" ,
396
396
label : "Clear" ,
397
- onclick : function ( model ) {
397
+ onclick : function ( model ) {
398
398
model . address . geo = {
399
399
latitude : 0 ,
400
400
longitude : 0
0 commit comments