Allow decimal inputs in quotes and compensation fields in submission drawer
Currently, the 'quotes' field and compensation fields in the submission drawer only accept integer values. To support more flexible and accurate input, these fields should be updated to allow decimal numbers (e.g., 100.50, 75.25, etc.).
Proposed Solution:
- Update the input validation logic for the quotes and compensation fields to accept decimal values, allowing up to 4 decimal places maximum.
- Ensure the UI properly displays and handles decimal numbers up to 4 decimal places.
- Payments from the sponsor end should also work with decimal values.
- Test submission flows to verify decimals are saved and displayed correctly throughout the application, including payment flows.
Benefits:
- Enables users to provide more precise compensation and quotes.
- Reduces rounding errors and improves user experience.
Hi @JayeshVP24 , This seems like an interesting enhancement and I have done something similar in the past. I’d like to take it up and implement decimal input handling for the quotes and compensation fields. I’d love to work on this issue if it’s still open. Could you please assign it to me?
@JayeshVP24 is this still available?
hey @7ttp merged the PR that came earlier. Appreciate your work though! thanks alot.
closing this PR now