Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
Fix ticket quantity selection component
Dave Earley4dbed923243f
diff --git a/frontend/src/components/common/NumberSelector/index.tsx b/frontend/src/components/common/NumberSelector/index.tsxindex aab849fa4..02890e26a 100644--- a/frontend/src/components/common/NumberSelector/index.tsx+++ b/frontend/src/components/common/NumberSelector/index.tsx@@ -22,10 +22,7 @@ export const NumberSelector = ({formInstance, fieldName, min, max}: NumberSelectconst maxValue = max || 100;useEffect(() => {- // Only synchronize with form if the value is within bounds and not 0- if (value !== 0) {- formInstance.setFieldValue(fieldName, value);- }+ formInstance.setFieldValue(fieldName, value);}, [value]);useEffect(() => {