Payment amount input leading 0 (#2836)

Co-authored-by: gitstart <[email protected]>
Co-authored-by: Júlio Piubello da Silva Cabral <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-05-30 09:28:32 -06:00
1 parent d1f117f17a
commit e493b16466
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1868,7 +1868,7 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {
onChange={(e) => {
field.onChange(e.target.valueAsNumber * 100);
}}
value={field.value > 0 ? field.value / 100 : 0}
value={field.value > 0 ? field.value / 100 : undefined}
/>
)}
/>