Skip to content

Commit

Permalink
Fix readonly input in mass update form when grid has readonlyIf in fi…
Browse files Browse the repository at this point in the history
…elds

Fixes RM-40984

(cherry picked from commit 287f029)
  • Loading branch information
pdo-axelor committed Aug 31, 2021
1 parent f87fc1d commit db4a4fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions axelor-web/src/main/webapp/js/widget/widget.update.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ ui.directive('uiUpdateForm', function () {
field.hidden = false;
field.required = false;
field.readonly = false;
field.readonlyIf = null;
field.onChange = null;
field.placeholder = field.placeholder || field.title;

Expand Down
3 changes: 3 additions & 0 deletions changelogs/unreleased/fix-mass-update-readonly-if-in-grid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Fix readonly input in mass update form when grid has readonlyIf in fields
type: fix

0 comments on commit db4a4fa

Please sign in to comment.