Skip to content

Commit

Permalink
Move Validation setting to the bottom in Fragment Input Definition vi… (
Browse files Browse the repository at this point in the history
#6896)

* Move Validation setting to the bottom in Fragment Input Definition view - fix two more variants

* Updated snapshots (#6897)

Co-authored-by: bartektartanus <bartektartanus@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bartektartanus <bartektartanus@users.noreply.github.com>
  • Loading branch information
3 people authored and arkadius committed Sep 18, 2024
1 parent 4fcd8f0 commit af8f5bc
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ export const AnyValueVariant = ({ item, path, onChange, readOnly, variableTypes,

return (
<>
<ValidationsFields
path={path}
item={item}
onChange={onChange}
variableTypes={variableTypes}
readOnly={readOnly}
errors={errors}
/>
<InitialValue
path={path}
item={item}
Expand All @@ -50,6 +42,14 @@ export const AnyValueVariant = ({ item, path, onChange, readOnly, variableTypes,
className={nodeInput}
/>
</FormControl>
<ValidationsFields
path={path}
item={item}
onChange={onChange}
variableTypes={variableTypes}
readOnly={readOnly}
errors={errors}
/>
</>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ export const AnyValueWithSuggestionVariant = ({ item, path, onChange, variableTy
name={item.name}
initialValue={item.initialValue}
/>
<ValidationsFields
path={path}
onChange={onChange}
item={item}
variableTypes={variableTypes}
readOnly={readOnly}
errors={errors}
/>
<InitialValue
path={path}
item={item}
Expand All @@ -72,6 +64,14 @@ export const AnyValueWithSuggestionVariant = ({ item, path, onChange, variableTy
className={nodeInput}
/>
</FormControl>
<ValidationsFields
path={path}
onChange={onChange}
item={item}
variableTypes={variableTypes}
readOnly={readOnly}
errors={errors}
/>
</>
);
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit af8f5bc

Please sign in to comment.