* set max length for miniprogram name.

This commit is contained in:
dingyongliang
2024-02-19 14:35:41 +08:00
parent 8d8460e598
commit a60fed4044
2 changed files with 2 additions and 2 deletions
@@ -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>
+1 -1
View File
@@ -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>