mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Only show the character limit if the user exceeds it
This commit is contained in:
@@ -232,7 +232,8 @@ function(NotificationsList, i18n) {
|
|||||||
helperText: {
|
helperText: {
|
||||||
classCondition: 'job_template_labels_isValid === true',
|
classCondition: 'job_template_labels_isValid === true',
|
||||||
ngClass: 'at-InputLabel--error',
|
ngClass: 'at-InputLabel--error',
|
||||||
text: i18n._('Max 512 Char'),
|
ngShow: 'job_template_labels_isValid !== true',
|
||||||
|
text: i18n._('Max 512 Characters'),
|
||||||
},
|
},
|
||||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user