iOS decimal keyboards in many locales only offer a comma; type=number inputs report an empty value for it, snapping the field to 0. Numeric fields (weight, speed, etc.) are now text inputs with inputMode=decimal backed by a shared NumField component that normalizes ',' to '.' and keeps partial input like "33," alive while typing. Fixes #13
23 lines
448 B
JSON
23 lines
448 B
JSON
{
|
|
"name": "opengym-frontend",
|
|
"private": true,
|
|
"version": "1.2.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"license": "AGPL-3.0-or-later",
|
|
"dependencies": {
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"react-router-dom": "^7.18.1",
|
|
"zustand": "^5.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-react": "^6.0.3",
|
|
"vite": "^8.1.5"
|
|
}
|
|
}
|