Skip to content

Commit

Permalink
[frontend] Feedback addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonsai8863 committed Sep 24, 2024
1 parent 35a2b3d commit 3282c9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export interface FilterIconButtonProps {
redirection?: boolean;
helpers?: handleFilterHelpers;
availableRelationFilterTypes?: Record<string, string[]>;
required?: boolean;
entityTypes?: string[];
filtersRestrictions?: FiltersRestrictions;
searchContext?: FilterSearchContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ const ExternalReferenceCreation: FunctionComponent<ExternalReferenceCreationProp
file: '',
}}
validationSchema={externalReferenceValidation(t_i18n)}
validateOnChange={false} // Validation will occur on submission, required fields all have *'s
validateOnBlur={false} // Validation will occur on submission, required fields all have *'s
validateOnChange={true}
validateOnBlur={true}
onSubmit={onSubmit}
onReset={() => {
onResetClassic();
Expand Down Expand Up @@ -329,8 +329,8 @@ const ExternalReferenceCreation: FunctionComponent<ExternalReferenceCreationProp
file: '',
}}
validationSchema={externalReferenceValidation(t_i18n)}
validateOnChange={false} // Validation will occur on submission, required fields all have *'s
validateOnBlur={false} // Validation will occur on submission, required fields all have *'s
validateOnChange={true}
validateOnBlur={true}
onReset={onResetContextual}
>
{({ submitForm, handleReset, isSubmitting, setFieldValue }) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const OpinionEditionOverviewComponent = (props) => {
x_opencti_workflow_id: convertStatus(t_i18n, opinion),
confidence: opinion.confidence,
explanation: opinion.explanation,
opinion: opinion.opinion,
};

return (
Expand Down

0 comments on commit 3282c9f

Please sign in to comment.