Updates price placeholder when post only slide
This commit is contained in:
parent
a39a32625a
commit
0c72cf85f7
|
@ -808,7 +808,9 @@ export default function AdvancedTradeForm({
|
|||
onChange={(e) => onSetPrice(e.target.value)}
|
||||
value={postOnlySlide ? '' : price}
|
||||
disabled={isMarketOrder || postOnlySlide}
|
||||
placeholder={tradeType === 'Market' ? markPrice : null}
|
||||
placeholder={
|
||||
tradeType === 'Market' && !postOnlySlide ? markPrice : ''
|
||||
}
|
||||
prefix={
|
||||
<>
|
||||
{!postOnlySlide && (
|
||||
|
|
Loading…
Reference in New Issue