Skip to content

Comments

Fix: Add comma-separated formatting for Lead Value display#2461

Open
bhavesh-018 wants to merge 1 commit intokrayin:2.1from
bhavesh-018:fix/lead-value-number-format
Open

Fix: Add comma-separated formatting for Lead Value display#2461
bhavesh-018 wants to merge 1 commit intokrayin:2.1from
bhavesh-018:fix/lead-value-number-format

Conversation

@bhavesh-018
Copy link

@bhavesh-018 bhavesh-018 commented Feb 23, 2026

Issue Reference

Fix #2459

Description

This PR improves the readability of the Lead Value field on the Lead view page.
Previously, large numeric values were displayed without thousand separators and with trailing decimal zeros (e.g., 1000000.0000).

With this change:

  • Lead Value is displayed in a comma-separated format (e.g., 1,000,000)
  • Trailing unnecessary decimals are removed for better clarity
  • Inline editing functionality remains unchanged
  • Raw numeric value is preserved for saving and validation

The formatting is scoped specifically to the lead_value attribute under the leads entity and does not affect other price attributes or modules.

How To Test This?

  1. Navigate to Leads module.
  2. Create a new lead.
  3. Enter a large number in Lead Value (e.g., 1000000).
  4. Save the lead.
  5. Open the lead details page.
  6. Click the inline edit icon for Lead Value.
  7. Verify the input field shows the raw numeric value (e.g., 1000000).
  8. Update the value (e.g., add one more 0) and save.

Documentation

  • My pull request requires an update on the documentation repository.

Branch Selection

  • Target Branch: master

Tailwind Reordering

  • Tailwind classes reordered where applicable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lead Value Not Visible in Comma-Separated Format

1 participant