@@ -2,7 +2,7 @@ import fecha from "fecha";
22
33import { validators } from "../../../src" ;
44
5- let customAsyncValidator = function ( value ) {
5+ let customAsyncValidator = function ( value ) {
66 return new Promise ( ( resolve , reject ) => {
77 setTimeout ( ( ) => {
88 if ( value ) resolve ( ) ;
@@ -39,7 +39,7 @@ export default {
3939 required : true ,
4040 help : "First name of user" ,
4141 placeholder : "User's first name" ,
42- styleClasses : "half-width" ,
42+ styleClasses : "half-width col-xs-12 col-sm-6 " ,
4343 validator : validators . string ,
4444 onChanged ( model , newVal , oldVal ) {
4545 console . log ( `Model's name changed from ${ oldVal } to ${ newVal } . Model:` , model ) ;
@@ -56,7 +56,7 @@ export default {
5656 featured : true ,
5757 required : true ,
5858 placeholder : "User's last name" ,
59- styleClasses : "half-width" ,
59+ styleClasses : "half-width col-xs-12 col-sm-6 " ,
6060 validator : validators . string
6161 } ,
6262 {
@@ -387,14 +387,14 @@ export default {
387387 {
388388 classes : "btn-location" ,
389389 label : "Current location" ,
390- onclick : function ( model ) {
390+ onclick : function ( model ) {
391391 return this . $parent . getLocation ( model ) ;
392392 }
393393 } ,
394394 {
395395 classes : "btn-clear" ,
396396 label : "Clear" ,
397- onclick : function ( model ) {
397+ onclick : function ( model ) {
398398 model . address . geo = {
399399 latitude : 0 ,
400400 longitude : 0
0 commit comments