Skip to content

[NcProgressBar] No way to display numeric percentage value (value is never rendered as text) #8068

@nikhil2297

Description

@nikhil2297

Is your feature request related to a problem? Please describe.

When using NcProgressBar, there is currently no way to display the numeric percentage value (e.g. 42%) alongside the visual progress indicator.

Relevant code reference:

  • value is used only for progress calculation and ARIA
  • No text output or slot exists to render the numeric value

Describe the solution you'd like

A minimal solution could be an optional prop (e.g. showValue) that renders the percentage as an overlay or label for the linear progress bar, without changing the default appearance for existing users.

Additional context

This issue is visible in nextcloud/tables and tracked there as well: nextcloud/tables#1885

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofenhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions