Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Amina/invalid_characters_on_barriers_mobile #6645

Merged
merged 3 commits into from
Jul 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/templates/app/trade/trading.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const Trading = () => (
</label>
</div>
<div className='big-col'>
<input id='barrier' type='text' data-lpignore='true' name='H' autoComplete='off' />
<input id='barrier' type='number' step='any' data-lpignore='true' name='H' autoComplete='off' />
<span id='indicative_barrier_tooltip' data-balloon={it.L('This is an indicative barrier. Actual barrier will be the entry spot plus the barrier offset.')} data-balloon-length='xlarge' />
</div>
</div>
Expand All @@ -106,7 +106,7 @@ const Trading = () => (
</label>
</div>
<div className='big-col'>
<input id='barrier_high' type='text' data-lpignore='true' name='H' autoComplete='off' />
<input id='barrier_high' type='number' step='any' data-lpignore='true' name='H' autoComplete='off' />
<span id='indicative_high_barrier_tooltip' data-balloon={it.L('This is an indicative barrier. Actual barrier will be the entry spot plus the barrier offset.')} data-balloon-length='xlarge' />
<div className='hint'>
<span id='barrier_high_error' className='error-msg invisible'>{it.L('High barrier must be higher than low barrier')}</span>
Expand All @@ -121,7 +121,7 @@ const Trading = () => (
</label>
</div>
<div className='big-col'>
<input id='barrier_low' type='text' data-lpignore='true' name='L' autoComplete='off' />
<input id='barrier_low' type='number' step='any' data-lpignore='true' name='L' autoComplete='off' />
<span id='indicative_low_barrier_tooltip' data-balloon={it.L('This is an indicative barrier. Actual barrier will be the entry spot plus the barrier offset.')} data-balloon-length='xlarge' />
</div>
</div>
Expand Down