Skip to content

Commit 411f0c1

Browse files
Copilotkdinev
andauthored
fix: add type="border" to igx-input-group elements in composite data binding editor templates
The editor template inputs in the grid composite data binding sample were not visually distinct from plain text spans. Adding type="border" to all igx-input-group elements renders visible borders around the input fields, making them clearly identifiable as editable inputs when in edit mode. Agent-Logs-Url: https://github.com/IgniteUI/igniteui-angular-samples/sessions/9f31aaf8-cc71-41f4-82e8-973c7d8e2e72 Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com>
1 parent 09bd882 commit 411f0c1

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/app/grid/grid-composite-data-binding/grid-composite-data.component.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@
1616
<div style="display:flex; margin-top:3px">
1717
<div>
1818
<strong>Contact Name:</strong> {{cell.row.data.ContactName}}
19-
<igx-input-group width="100%">
19+
<igx-input-group type="border" width="100%">
2020
<input igxInput [(ngModel)]="cell.row.data.ContactName" />
2121
</igx-input-group>
2222
</div>
2323
<div style="margin-left: 10px">
2424
<strong>Job Title:</strong> {{cell.row.data.ContactTitle}}
25-
<igx-input-group width="100%">
25+
<igx-input-group type="border" width="100%">
2626
<input igxInput [(ngModel)]="cell.row.data.ContactTitle" />
2727
</igx-input-group>
2828
</div>
2929
</div>
3030
<div style="margin-top: 10px">
3131
<strong>Company Name:</strong> {{cell.row.data.CompanyName}}
32-
<igx-input-group width="100%">
32+
<igx-input-group type="border" width="100%">
3333
<input igxInput [(ngModel)]="cell.row.data.CompanyName" />
3434
</igx-input-group>
3535
</div>
@@ -56,23 +56,23 @@
5656
<div class="address-container--edit">
5757
<div>
5858
<span><strong>Country:</strong> {{cell.row.data.Country}}</span>
59-
<igx-input-group width="100%">
59+
<igx-input-group type="border" width="100%">
6060
<input #country igxInput [(ngModel)]="cell.row.data.Country" />
6161
</igx-input-group>
6262
<br>
6363
<span><strong>City:</strong> {{cell.row.data.City}}</span>
64-
<igx-input-group width="100%">
64+
<igx-input-group type="border" width="100%">
6565
<input #city igxInput [(ngModel)]="cell.row.data.City" />
6666
</igx-input-group>
6767
</div>
6868
<div>
6969
<span><strong>Postal Code:</strong> {{cell.row.data.PostalCode}}</span>
70-
<igx-input-group width="100%">
70+
<igx-input-group type="border" width="100%">
7171
<input #postalCode igxInput [(ngModel)]="cell.row.data.PostalCode" />
7272
</igx-input-group>
7373
<br>
7474
<span><strong>Selected:</strong> {{cell.row.selected}}</span>
75-
<igx-input-group width="100%">
75+
<igx-input-group type="border" width="100%">
7676
<input #postalCode igxInput [(ngModel)]="cell.row.data.Phone" />
7777
</igx-input-group>
7878
</div>

0 commit comments

Comments
 (0)