Skip to content

Progress Bar Text format not consistent #1336

@jaburton111

Description

@jaburton111

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

This issue occurs in both TestFlight and FlutterFlow test mode though with slight variances. The issue is with the progress bar text and the number of decimal places. For the progress bar text, I am pulling variable data from my database that is a decimal number already rounded to 2 decimal places in my database. The purpose is to present that decimal number as a percentage with zero decimals in the progress bar text. I am using a code expression to accomplish this. The functionality works perfectly for all but just a couple list items which end up showing a long string of decimals.

Screen.Recording.2023-08-22.at.8.34.50.AM.mov

You can see in this clip Bob Dylan and Incubus are the only two that have a long string of decimals. All the others appear as they should.

To add further complication, it presents slightly differently in TestFlight:

RPReplay_Final1692707969.mov

As you can see here, the long string of decimals persists with Bob Dylan but there is also now 1 decimal added to every other artist. No idea why this is happening.

Expected Behavior

The expected behaviour would be a presentation of the decimal numbers as percentages with zero decimals, and consistency across all list items.

Steps to Reproduce

  1. Add progress bar to list item
  2. Set progress bar text to variable
  3. set variable to data that is in decimal format rounded to 2 decimal places
Screenshot 2023-08-22 at 8 45 48 AM
  1. set code expression to present as percentage and reinforce decimal places
Screenshot 2023-08-22 at 8 47 02 AM
  1. view in FlutterFlow Test mode and Apple TestFlight.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITEejvLluJZNpbxa7rrULMd4lQMzN0g2a+cZm9VxbwIoIpznBuw+Z8nBVElBZ7SgaVNcAEybozof0t77iIXAG+5eE02AfaU6wqliWgnee2i7VYyMBbqeSXd8M51YC3a/y6uzrwkmKrJZWGQY112UAe+tFy3DFOu/Zwh9f6PHaOI=

Context

I am looking for consistency of presentation and format within the list items of this screen. These anomalies create a messy look to the app which will affect user experience.

Visual documentation

I have added images and clips above. Should be everything you need to fully understand the issue.

Additional Info

na

Environment

- FlutterFlow version: v3.1 
- Platform: MacOS Desktop
- Browser name and version: Chrome Version 115.0.5790.170
- Operating system and version affected: Ventura 13.5

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions