fix: Issues #223 done.
This commit is contained in:
@@ -25,6 +25,9 @@ export async function saveFilter(addFilterId) {
|
|||||||
input: 'text',
|
input: 'text',
|
||||||
inputPlaceholder: 'Enter Filter Name.',
|
inputPlaceholder: 'Enter Filter Name.',
|
||||||
inputValue: fileName,
|
inputValue: fileName,
|
||||||
|
inputAttributes: {
|
||||||
|
'maxlength': 200,
|
||||||
|
},
|
||||||
inputValidator: (value) => {
|
inputValidator: (value) => {
|
||||||
if (!value) return 'You need to write something!';
|
if (!value) return 'You need to write something!';
|
||||||
fileName = value;
|
fileName = value;
|
||||||
@@ -109,6 +112,9 @@ export async function saveConformance(addConformanceCreateCheckId) {
|
|||||||
input: 'text',
|
input: 'text',
|
||||||
inputPlaceholder: 'Enter Rule Name.',
|
inputPlaceholder: 'Enter Rule Name.',
|
||||||
inputValue: fileName,
|
inputValue: fileName,
|
||||||
|
inputAttributes: {
|
||||||
|
'maxlength': 200,
|
||||||
|
},
|
||||||
inputValidator: (value) => {
|
inputValidator: (value) => {
|
||||||
if (!value) return 'You need to write something!';
|
if (!value) return 'You need to write something!';
|
||||||
fileName = value;
|
fileName = value;
|
||||||
@@ -307,6 +313,9 @@ export async function renameModal(rename, type, id, baseName) {
|
|||||||
input: 'text',
|
input: 'text',
|
||||||
inputPlaceholder: 'Enter File Name.',
|
inputPlaceholder: 'Enter File Name.',
|
||||||
inputValue: fileName,
|
inputValue: fileName,
|
||||||
|
inputAttributes: {
|
||||||
|
'maxlength': 200,
|
||||||
|
},
|
||||||
inputValidator: value => {
|
inputValidator: value => {
|
||||||
if(!value) return 'You need to write something!';
|
if(!value) return 'You need to write something!';
|
||||||
fileName = value;
|
fileName = value;
|
||||||
|
|||||||
Reference in New Issue
Block a user