Selaa lähdekoodia

Update GiftValuePage to set maximum value for input field

- Added a maximum value of 0.85 to the input field in the GiftValuePage, ensuring that user input remains within acceptable limits and enhancing data validation.
0es 2 päivää sitten
vanhempi
sitoutus
27f566eb7f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/app/(dashboard)/live/gift-value/page.tsx

+ 1 - 0
src/app/(dashboard)/live/gift-value/page.tsx

@@ -375,6 +375,7 @@ const GiftValuePage: React.FC = () => {
               step={0.01}
               precision={4}
               min={0}
+              max={0.85}
             />
           </Form.Item>