Fix regex for float numbers

This commit is contained in:
keisuke-umezawa
2023-01-25 21:43:30 +09:00
parent 6b96d8bfa0
commit 7d796acb2e
@@ -361,7 +361,7 @@ export const TrialTable: FC<{
inputProps={{
inputMode: "numeric",
pattern:
"[+-]?([0-9]+(.[0-9]*)?|.[0-9]+)([eE][+-]?[0-9]+)?",
"[-+]?[0-9]*.?[0-9]+([eE][-+]?[0-9]+)?",
title: "Please input a float number",
}}
inputRef={ref}