1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-23 21:29:37 +02:00

Fixed bug with decimal input values in Safari browser

This commit is contained in:
unknown 2021-06-18 14:12:17 +02:00
parent ae3141e37b
commit 28680bec1a
3 changed files with 26 additions and 6 deletions

View file

@ -116,6 +116,8 @@ const WeatherSettings = (props: ComponentProps): JSX.Element => {
placeholder='52.22'
value={formData.lat}
onChange={(e) => inputChangeHandler(e, true)}
step='any'
lang='en-150'
/>
<span>
You can use
@ -135,6 +137,8 @@ const WeatherSettings = (props: ComponentProps): JSX.Element => {
placeholder='21.01'
value={formData.long}
onChange={(e) => inputChangeHandler(e, true)}
step='any'
lang='en-150'
/>
</InputGroup>
<InputGroup>