Skip to content

Commit

Permalink
fix: fix implementation of isReadOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-godoy authored and paodb committed Nov 25, 2021
1 parent 7b768d8 commit 01008cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ public Registration addValueChangeListener(

@Override
public boolean isReadOnly() {
return isReadOnly();
return getAvailableGrid().getSelectionModel() == SelectionMode.NONE;
}

@Override
Expand Down

0 comments on commit 01008cb

Please sign in to comment.