Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Jovan Cvetkovic <[email protected]>
  • Loading branch information
jovancvetkovic3006 committed Jun 23, 2023
1 parent b43dda7 commit 5b01da5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,7 @@ const MonitorsList = ({ values, httpClient }) => {
form={form}
rowProps={{
label: 'Monitor',
isInvalid: () => {
console.log(form.touched[formikFieldName], isValid());
return form.touched[formikFieldName] && !isValid();
},
isInvalid: () => form.touched[formikFieldName] && !isValid(),
error: () => validate(),
}}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const FORMIK_INITIAL_VALUES = {
filters: [], // array of FORMIK_INITIAL_WHERE_EXPRESSION_VALUES
detectorId: '',
associatedMonitors: DEFAULT_ASSOCIATED_MONITORS_VALUE,
associatedMonitorsList: [],
};

export const FORMIK_INITIAL_AGG_VALUES = {
Expand Down

0 comments on commit 5b01da5

Please sign in to comment.