Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.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 在角坐标系中填充模态形式_Angular_Typescript_Bootstrap Modal - Fatal编程技术网

Angular 在角坐标系中填充模态形式

Angular 在角坐标系中填充模态形式,angular,typescript,bootstrap-modal,Angular,Typescript,Bootstrap Modal,我使用ngFor生成我创建的数据,我希望模态表单中的数据针对每个元素进行更改,但当我单击任何元素时,只会显示页面中第一个元素的数据。我如何更改这是我的代码: 单位详情 &时代; 项目:{{prop.Project}} 单位名称:{{prop.Unit_Name}} 单位使用:{{prop.Unit\u Usage}} 国家:{{prop.Country}} 单位:{{prop.Unit_for}} 整理:{{prop.Finishing}} 属性类型:{{prop.Property_type

我使用ngFor生成我创建的数据,我希望模态表单中的数据针对每个元素进行更改,但当我单击任何元素时,只会显示页面中第一个元素的数据。我如何更改这是我的代码:


单位详情
&时代;

项目:{{prop.Project}}
单位名称:{{prop.Unit_Name}}
单位使用:{{prop.Unit\u Usage}}
国家:{{prop.Country}}
单位:{{prop.Unit_for}}
整理:{{prop.Finishing}}
属性类型:{{prop.Property_type}}
城市:{{prop.City}}
地区:{{prop.District}}
最小面积:{{prop.minu Area}}
起始价格:{{prop.Starting_Price}}


{{prop.property{u type}


{{{prop.developer}}




{{prop.district}

有一个标签没有开头标签

       <div class="alert-msg">
                                </div>
                            </form>   <----Remove this
                        </div>

       <div class="alert-msg">
                                </div>
                            </form>   <----Remove this
                        </div>
<div class="col-lg-12" *ngFor="let prop of properties">