Skip to content

Bug - [FileUploadField] - cannot control individual disablement of browse button #10830

Closed

Description

@christianvogt

Describe the problem
FileUploadField provides more control over the inner workings than FileUpload including a way to disable the clear button using isClearButtonDisabled. However there is no equivalent property for the browse button.

The use case we want to achieve is to present a "read only" state of the file upload. This is being used as part of a form generation preview. While we could disable the entirety of the component as a work around, it's not quite the same as creating a read only state where the control is still accessible.

How do you reproduce the problem?
https://www.patternfly.org/components/file-upload/simple-file-upload

Expected behavior
Provide property isBrowseButtonDisabled similar to isClearButtonDisabled.

Is this issue blocking you?
List the workaround if there is one.
We can use isDisabled for now.

What is your product and what release date are you targeting?
RHOAI 2.13+

Any other information?

Activity

  1. moved this from Needs triage to Backlog in PatternFly Issueson Aug 22, 2024
  2. added this to the Prioritized Backlog milestone on Aug 22, 2024
  3. github-actions commented on Oct 23, 2024

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

  4. christianvogt commented on Oct 25, 2024

    @christianvogt
    ContributorAuthor

    bump

  5. moved this from Backlog to Ready to assign in PatternFly Issueson Nov 5, 2024
  6. github-actions commented on Jan 6, 2025

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

  7. christianvogt commented on Jan 6, 2025

    @christianvogt
    ContributorAuthor

    bump

  8. self-assigned this
    on Jan 9, 2025
  9. moved this from Ready to assign to Not started in PatternFly Issueson Jan 9, 2025
  10. modified the milestones: 2024.Q4, 2025.Q1 on Jan 14, 2025
  11. moved this from Not started to In Progress in PatternFly Issueson Jan 17, 2025
  12. moved this from In Progress to PR Review in PatternFly Issueson Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions