diff --git a/dev/app.vue b/dev/app.vue
index 4624a930..43de057d 100644
--- a/dev/app.vue
+++ b/dev/app.vue
@@ -1,31 +1,31 @@
- .row
- .col-md-10.col-md-offset-1
- data-table(:rows="rows", :selected="selected", :select="selectRow")
-
- .row(v-show="model")
- .col-md-5.col-md-offset-1
- .buttons.text-center
- button.btn.btn-default.new(@click="newModel")
- i.fa.fa-plus
- | New
- button.btn.btn-primary.save(@click="saveModel")
- i.fa.fa-floppy-o
- | Save
- i.fa.fa-warning(v-if="showWarning()")
- button.btn.btn-danger.delete(@click="deleteModel")
- i.fa.fa-trash
- | Delete
-
- .errors.text-center
- div.alert.alert-danger(v-for="item in validationErrors", track-by="$index") {{ item.field.label}}:
- strong {{ item.error }}
-
- vue-form-generator(:schema='schema', :model='model', :options='formOptions', :multiple="selected.length > 1", v-ref:form, :is-new-model="isNewModel")
-
-
- .col-md-6
- pre(v-if='model') {{{ model | prettyJSON }}}
+ .row
+ .col-md-10.col-md-offset-1
+ data-table(:rows="rows", :selected="selected", :select="selectRow")
+
+ .row(v-show="model")
+ .col-md-5.col-md-offset-1
+ .buttons.text-center
+ button.btn.btn-default.new(@click="newModel")
+ i.fa.fa-plus
+ | New
+ button.btn.btn-primary.save(@click="saveModel")
+ i.fa.fa-floppy-o
+ | Save
+ i.fa.fa-warning(v-if="showWarning()")
+ button.btn.btn-danger.delete(@click="deleteModel")
+ i.fa.fa-trash
+ | Delete
+
+ .errors.text-center
+ div.alert.alert-danger(v-for="item in validationErrors", track-by="$index") {{ item.field.label}}:
+ strong {{ item.error }}
+
+ vue-form-generator(:schema='schema', :model='model', :options='formOptions', :multiple="selected.length > 1", v-ref:form, :is-new-model="isNewModel")
+
+
+ .col-md-6
+ pre(v-if='model') {{{ model | prettyJSON }}}
diff --git a/src/fields/fieldText.vue b/src/fields/fieldText.vue
index 81730f79..b172eb29 100644
--- a/src/fields/fieldText.vue
+++ b/src/fields/fieldText.vue
@@ -1,5 +1,5 @@
- input.form-control(type="text", v-model="value", :readonly="schema.readonly", :disabled="disabled", :placeholder="schema.placeholder")
+ input.form-control(type="text", v-model="value", :maxlength="schema.max", :readonly="schema.readonly", :disabled="disabled", :placeholder="schema.placeholder")