Skip to content

Commit 15d6a55

Browse files
committed
Update modx.grid.role.js
Add missing config property so error messages appear below fields in Create window
1 parent 2b2bb31 commit 15d6a55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manager/assets/modext/widgets/security/modx.grid.role.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ MODx.window.CreateRole = function(config = {}) {
153153
action: 'Security/Role/Create',
154154
formDefaults: {
155155
allowBlank: false,
156-
anchor: '100%'
156+
anchor: '100%',
157+
msgTarget: 'under'
157158
},
158159
fields: [{
159160
name: 'name',

0 commit comments

Comments
 (0)