Skip to content

fix: Resolve unsupported file type, empty string fileName on upload and duplilcate ForgeLoader in modal - #1215

Merged
Polymeta merged 3 commits into
3Squared:mainfrom
thaiphamquang:feature/unable-to-upload-and-double-loading
Oct 6, 2026
Merged

Polymeta merged 3 commits into
3Squared:mainfrom
thaiphamquang:feature/unable-to-upload-and-double-loading

Conversation

@thaiphamquang

Copy link
Copy Markdown
Contributor
  • Swap raw file.type with fileMimeType so it can retrieve browser unsupported file types.
  • Add check for empty string on editable fileName as it should be handled like null case.
  • Refactor ForgeLoader slot from ForgeModal into the #default slot so to prevent hydrate a ForgeLoader for each template use.

@thaiphamquang
thaiphamquang requested a review from a team as a code owner October 6, 2026 08:23
@changeset-bot

changeset-bot Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65c2454

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@3squared/forge-ui-3 Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Polymeta
Polymeta merged commit 59e6e1c into 3Squared:main Oct 6, 2026
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.

2 participants