|
@@ -1137,7 +1137,7 @@ ${ commonheader(_("Importer"), "indexer", user, request, "60px") | n,unicode }
|
|
|
<script type="text/html" id="table-field-template">
|
|
<script type="text/html" id="table-field-template">
|
|
|
<div>
|
|
<div>
|
|
|
<label data-bind="visible: level() == 0 || ($parent.type() != 'array' && $parent.type() != 'map')">${ _('Name') }
|
|
<label data-bind="visible: level() == 0 || ($parent.type() != 'array' && $parent.type() != 'map')">${ _('Name') }
|
|
|
- <input type="text" class="input-large" placeholder="${ _('Field name') }" required data-bind="textInput: name">
|
|
|
|
|
|
|
+ <input type="text" class="input-large" placeholder="${ _('Field name') }" required data-bind="textInput: name" pattern="[a-zA-Z0-9_]+$" title="${ _('Only alphanumeric and underscore characters') }">
|
|
|
</label>
|
|
</label>
|
|
|
|
|
|
|
|
<label class="margin-left-5">${ _('Type') }
|
|
<label class="margin-left-5">${ _('Type') }
|