Skip to content

Commit

Permalink
Merge pull request #5680 from formio/FIO-8633-Edit-icon-is-not-visibl…
Browse files Browse the repository at this point in the history
…e---in-Edit-Grid-/-DataGrid---Modal-View-/-Display-as-Modal-form

FIO-8633 fixed icon name for Edit Grid
  • Loading branch information
brendanbond authored Jul 14, 2024
2 parents d6bdcb6 + d459cf5 commit a4d0429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/editgrid/EditGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class EditGridComponent extends NestedArrayComponent {
{% if (!instance.options.readOnly && !instance.disabled) { %}
<div class="col-sm-2">
<div class="btn-group pull-right">
<button class="btn btn-default btn-light btn-sm editRow"><i class="{{ iconClass('pen-fill') }}"></i></button>
<button class="btn btn-default btn-light btn-sm editRow"><i class="{{ iconClass('edit') }}"></i></button>
{% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}
<button class="btn btn-danger btn-sm removeRow"><i class="{{ iconClass('trash') }}"></i></button>
{% } %}
Expand All @@ -117,7 +117,7 @@ export default class EditGridComponent extends NestedArrayComponent {
{% if (!instance.options.readOnly && !instance.disabled) { %}
<td class="editgrid-table-column">
<div class="btn-group">
<button class="btn btn-default btn-light btn-sm editRow" aria-label="{{ t('Edit row') }}"><i class="{{ iconClass('pen-fill') }}"></i></button>
<button class="btn btn-default btn-light btn-sm editRow" aria-label="{{ t('Edit row') }}"><i class="{{ iconClass('edit') }}"></i></button>
{% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}
<button class="btn btn-danger btn-sm removeRow" aria-label="{{ t('Remove row') }}"><i class="{{ iconClass('trash') }}"></i></button>
{% } %}
Expand Down

0 comments on commit a4d0429

Please sign in to comment.