Skip to content

Commit

Permalink
Static IP yaml - trigger validations when yaml content is removed (op…
Browse files Browse the repository at this point in the history
…enshift-assisted#2287)

Co-authored-by: Montse Ortega <[email protected]>
  • Loading branch information
jgyselov and ammont82 authored Aug 23, 2023
1 parent f2bb903 commit 71738df
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libs/ui-lib/lib/common/components/ui/formik/CodeField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ const CodeField = ({
language={language}
downloadFileName={downloadFileName}
onCodeChange={(value) => {
if (value !== '') {
setTouched(true);
setValue(value, true);
}
setTouched(true);
setValue(value, true);
}}
isReadOnly={isReadOnly}
/>
Expand Down

0 comments on commit 71738df

Please sign in to comment.