Skip to content

Commit

Permalink
fix: fix price handling in safari
Browse files Browse the repository at this point in the history
  • Loading branch information
zawan-ila committed Jan 13, 2023
1 parent 07dd4a6 commit 6d1d2a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/PriceList/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Field } from 'redux-form';
import RenderInputTextField from '../RenderInputTextField';
import FieldLabel from '../FieldLabel';

import { isSafari } from '../../utils';
import {
requiredValidate, priceValidate, noValidate,
} from '../../utils/validation';
Expand Down Expand Up @@ -32,7 +33,7 @@ const PriceList = ({
max: 10000.00,
...extraInput,
}}
type="number"
{...(isSafari ? {} : {type: 'number'})}
label={(
<FieldLabel
text={`${priceLabels[seatType]} Price (USD)`}
Expand Down

0 comments on commit 6d1d2a0

Please sign in to comment.