1
0
Fork 0
master
panliang 2023-10-27 10:40:39 +08:00
parent 3c07ea26c0
commit 7b71879fe4
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class PatientController extends AdminController
{
return $this->baseForm()->body([
amisMake()->SelectControl()->options($this->getTypeOptions())->name('type_id')->label(__('patient.type_id'))->required(),
amisMake()->SelectControl()->source(admin_url('/api/user/list'))->name('user_id')->label(__('patient.user_id'))->clearable()->onEvent([
amisMake()->SelectControl()->source(admin_url('/api/user/list'))->name('user_id')->label(__('patient.user_id'))->searchable()->clearable()->onEvent([
'change' => [
'actions' => [
['actionType' => 'setValue', 'componentId' => 'patient_name', 'args' => ['value' => '${event.data.selectedItems.name}']],