diff --git a/src/module/alertModal.js b/src/module/alertModal.js index c712de7..0acde4c 100644 --- a/src/module/alertModal.js +++ b/src/module/alertModal.js @@ -25,6 +25,9 @@ export async function saveFilter(addFilterId) { input: 'text', inputPlaceholder: 'Enter Filter Name.', inputValue: fileName, + inputAttributes: { + 'maxlength': 200, + }, inputValidator: (value) => { if (!value) return 'You need to write something!'; fileName = value; @@ -109,6 +112,9 @@ export async function saveConformance(addConformanceCreateCheckId) { input: 'text', inputPlaceholder: 'Enter Rule Name.', inputValue: fileName, + inputAttributes: { + 'maxlength': 200, + }, inputValidator: (value) => { if (!value) return 'You need to write something!'; fileName = value; @@ -307,6 +313,9 @@ export async function renameModal(rename, type, id, baseName) { input: 'text', inputPlaceholder: 'Enter File Name.', inputValue: fileName, + inputAttributes: { + 'maxlength': 200, + }, inputValidator: value => { if(!value) return 'You need to write something!'; fileName = value;