[DE] Add limit for name and value of list content controls. Bug 43715

This commit is contained in:
Julia Radzhabova 2019-12-09 14:18:25 +03:00
parent 555e3f1803
commit b4026f1eeb

View file

@ -81,6 +81,7 @@ define([
allowBlank : false,
blankError : me.textNameError,
style : 'width: 100%;',
maxLength : 256,
validateOnBlur: false,
validation : function(value) {
return value ? true : '';
@ -99,6 +100,7 @@ define([
me.inputValue = new Common.UI.InputField({
el : $('#id-dlg-label-value'),
style : 'width: 100%;',
maxLength : 256,
validateOnBlur: false,
validation : function(value) {
if (value!=='' && me.options.store) {