Fix max length not being passed correctly

Ref #1011
This commit is contained in:
rijkvanzanten
2020-11-18 12:38:53 -05:00
parent 0a4876061a
commit 98e17d72e2

View File

@@ -22,7 +22,7 @@
:collection="field.collection"
:field="field.field"
:primary-key="primaryKey"
:length="field.length"
:length="field.schema && field.schema.max_length"
@input="$emit('input', $event)"
/>