Skip to content

Forms : File Picker #440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 40 commits into from
May 22, 2024
Merged

Conversation

kaushikrw
Copy link
Collaborator

@kaushikrw kaushikrw commented May 22, 2024

Summary of changes

  • Adds a File Picker that can pick any file based on the specified MIME type.
  • The AttachmentsFormElement now honors the input type and shows the appropriate "Add attachment" options.
  • Since the AttachmentsFormInput has an internal constructor, a new class CaptureOptions is used to transform the AttachmentsFormInput into an type that the compose ui can use, including previews.

@kaushikrw kaushikrw self-assigned this May 22, 2024
@kaushikrw kaushikrw changed the base branch from feature-branches/forms to kaushik/forms/consume-new-api May 22, 2024 18:53
@kaushikrw kaushikrw marked this pull request as ready for review May 22, 2024 21:54
@kaushikrw kaushikrw requested a review from sorenoid May 22, 2024 21:54
Base automatically changed from kaushik/forms/consume-new-api to feature-branches/forms May 22, 2024 23:21
@kaushikrw kaushikrw merged commit e06e28f into feature-branches/forms May 22, 2024
@kaushikrw kaushikrw deleted the kaushik/forms/file-picker branch May 22, 2024 23:26
@kaushikrw kaushikrw restored the kaushik/forms/file-picker branch May 23, 2024 15:25
@kaushikrw kaushikrw deleted the kaushik/forms/file-picker branch May 23, 2024 15:25
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