Fixes console errors thrown about isValid on the workflow job template form

This commit is contained in:
mabashian
2020-07-28 11:49:17 -04:00
parent e6e79227e5
commit 7e8d0b5883

View File

@@ -131,7 +131,9 @@ function WorkflowJobTemplateForm({
<TextInput
id="text-wfjt-limit"
{...limitField}
isValid={!limitMeta.touched || !limitMeta.error}
validated={
!limitMeta.touched || !limitMeta.error ? 'default' : 'error'
}
onChange={value => {
limitHelpers.setValue(value);
}}