Skip to content

UI - Relax Document Upload Accept Type Restrictions for NOC #27387

Closed

Description

@victorc-bcgov

As an add-on to the fix outlined #27134, applicants should be able to upload photos (jpeg) as a supporting document during the NOC sub-process.

  • Input type="file" to remain the same
  • Accepted file types and validation to allow for jpeg (.jpeg and .jpg)
  • Continue to restrict all other formats
  • No change with file upload max size
  • Design changes to be addressed in a different story
  • New hint text "File must be a PDF, jpeg, or jpg. Maximum 10 MB."
  • File selection should work with native mobile capabilities with regards to camera, gallery, files (see mdn example for proof of concept)

Validation and malware scanning is out of scope of this ticket.

Activity

  1. assigned and unassigned on Apr 28, 2025
  2. dimak1 commented on May 1, 2025

    @dimak1
    Collaborator

    @arlentees this is currently on the way to main branch. If you want to release this sooner, we should discuss, maybe in daily standup.

  3. arlentees commented on May 1, 2025

    @arlentees

    @dimak1 ideally this is released as soon as possible, thanks!

  4. ser-popov commented on May 2, 2025

    @ser-popov

    in prod .. Done

  5. victorc-bcgov commented on May 2, 2025

    @victorc-bcgov
    Author

    Done. Released as a hotfix on 2025/05/01.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions