fix(number-fields): избегаем потери точности длинных чисел
- number-поля теперь рендерятся как text + inputMode=numeric, чтобы браузер не округлял значения через input type=number - пробелы при вставке в number-поля удаляются - бэкенд нормализует значения number-полей в строку перед сохранением - добавлен хелпер normalizeFieldValueForStorage Closes: искажение расчётного счёта и других длинных числовых полей
This commit is contained in:
14
server/routes/chat.routes.ts
Normal file
14
server/routes/chat.routes.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Router } from "express";
|
||||
import { registerChatMessageRoutes } from "./chat.messages.routes";
|
||||
import { registerBookmarkFolderRoutes } from "./chat.bookmark-folders.routes";
|
||||
import { registerBookmarkRoutes } from "./chat.bookmarks.routes";
|
||||
import { registerChatNotificationRoutes } from "./chat.notifications.routes";
|
||||
|
||||
const router = Router();
|
||||
|
||||
registerChatMessageRoutes(router);
|
||||
registerBookmarkFolderRoutes(router);
|
||||
registerBookmarkRoutes(router);
|
||||
registerChatNotificationRoutes(router);
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user