From d195530b158b6b7aa9daad0e1e46d6eb42e037d0 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Fri, 12 May 2023 12:07:49 +0300 Subject: [PATCH] tbxVIN: capitalize letters --- apps/web/Components/Calculation/config/elements-props.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web/Components/Calculation/config/elements-props.tsx b/apps/web/Components/Calculation/config/elements-props.tsx index 1e4375c..428a7f4 100644 --- a/apps/web/Components/Calculation/config/elements-props.tsx +++ b/apps/web/Components/Calculation/config/elements-props.tsx @@ -458,6 +458,11 @@ const props: Partial = { precision: 4, formatter: createFormatter({ minimumFractionDigits: 4, maximumFractionDigits: 4 }), }, + tbxVIN: { + onInput: (e) => { + e.currentTarget.value = e.currentTarget.value.toUpperCase(); + }, + }, }; export default props;