Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 如何通过url以角度形式导航自动完成选项?_Angular_Angular Formly - Fatal编程技术网

Angular 如何通过url以角度形式导航自动完成选项?

Angular 如何通过url以角度形式导航自动完成选项?,angular,angular-formly,Angular,Angular Formly,在这里,我想通过url浏览autoComplete的选项,我的意思是当我在url中写入一个人的名字时,它会用这个人的名字填充输入 > className: "flex-25 padding-10", > key: "KindPerList", > type: "autoComplete", > templateOptions: { > label: "C

在这里,我想通过url浏览autoComplete的选项,我的意思是当我在url中写入一个人的名字时,它会用这个人的名字填充输入

>     className: "flex-25 padding-10",
>     key: "KindPerList",
>     type: "autoComplete",
>     templateOptions: {
>       label: "Choose Account",
>       setvalue:this.GPcode ? this.GPcode : null,
>       required: true,
>       options: this.sharedService.persons,
>       endTyping: this.sharedService.getPersonList.bind(this.sharedService),
>       valueProp: "value",
>       labelProp: "name",