Skip to content

Commit

Permalink
feat: apply new improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
akmal-deriv committed Oct 8, 2024
1 parent df92714 commit 9dbbbdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const BarrierInput = observer(
regex={/[^0-9.,]/g}
textAlignment='center'
onChange={handleOnChange}
placeholder={localize('Distance to spot')}
placeholder={localize('Price')}
variant='fill'
message={barrier_1 !== '' ? validation_errors?.barrier_1[0] : ''}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const Barrier = observer(({ is_minimized }: TDurationProps) => {
message,
hasCloseButton: true,
status: 'fail',
style: { marginBottom: '48px' },
});
setBarrierErrorShown(true);
}
Expand Down Expand Up @@ -80,6 +81,7 @@ const Barrier = observer(({ is_minimized }: TDurationProps) => {
<TextField
variant='fill'
readOnly
noStatusIcon
label={<Localize i18n_default_text='Barrier' key={`barrier${is_minimized ? '-minimized' : ''}`} />}
value={v2_params_initial_values.barrier_1 || barrier_1}
onClick={() => setIsOpen(true)}
Expand Down

0 comments on commit 9dbbbdb

Please sign in to comment.