diff options
author | Sebastian <sebasjm@gmail.com> | 2022-11-07 14:38:42 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-11-07 14:38:42 -0300 |
commit | 6f3cd163431fecfa126f740ebfec1b5c5c74f5b7 (patch) | |
tree | ad00931c6dfa427b4f64d89baab7f2711f1864ce /packages/taler-wallet-webextension/src/mui/TextField.tsx | |
parent | 3eafb64912411dd21696a8896e9314ceb49c1326 (diff) | |
download | wallet-core-6f3cd163431fecfa126f740ebfec1b5c5c74f5b7.tar.xz |
standard Amount field and add more validation (neg values)
Diffstat (limited to 'packages/taler-wallet-webextension/src/mui/TextField.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/TextField.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/mui/TextField.tsx b/packages/taler-wallet-webextension/src/mui/TextField.tsx index 1c1f5cc49..7c6eb40a2 100644 --- a/packages/taler-wallet-webextension/src/mui/TextField.tsx +++ b/packages/taler-wallet-webextension/src/mui/TextField.tsx @@ -40,7 +40,9 @@ export interface Props { minRows?: number; multiline?: boolean; onChange?: (s: string) => void; + onInput?: (s: string) => string; min?: string; + step?: string; placeholder?: string; required?: boolean; |