* lift disabled on model selection.

This commit is contained in:
liwenrui
2023-07-13 14:43:24 +08:00
parent ebea2ee345
commit 160bb8900f
+1 -2
View File
@@ -27,8 +27,7 @@
<div class='content-row'>
<div class='input-label'><span><?php echo $lang->ai->prompts->model;?></span></div>
<div class='input mw-400px'>
<?php echo html::select('model', $lang->ai->models->typeList, current(array_keys($lang->ai->models->typeList)), "class='form-control chosen' required disabled");?>
<?php echo html::hidden('model', current(array_keys($lang->ai->models->typeList))); // TODO: use actual model list and value. ?>
<?php echo html::select('model', $lang->ai->models->typeList, current(array_keys($lang->ai->models->typeList)), "class='form-control chosen' required");?>
</div>
</div>
</div>