* set max length for miniprogram name.
This commit is contained in:
@@ -43,7 +43,7 @@ js::set('promptPlaceholder', $lang->ai->miniPrograms->placeholder->prompt);
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><?= $lang->ai->miniPrograms->field->name; ?></th>
|
||||
<td class="required"><input type="text" name="field-name" class="form-control" /></td>
|
||||
<td class="required"><input type="text" name="field-name" maxlength="16" class="form-control" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?= $lang->ai->miniPrograms->field->type; ?></th>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<tr>
|
||||
<th><?= $lang->prompt->name; ?></th>
|
||||
<td colspan="2">
|
||||
<?= html::input('name', $name, "class='form-control' required placeholder='" . $lang->ai->miniPrograms->placeholder->name . "'"); ?>
|
||||
<?= html::input('name', $name, "class='form-control' maxlength='16' required placeholder='" . $lang->ai->miniPrograms->placeholder->name . "'"); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user