Skip to content
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

Add -Accept support for FileUpload #237

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Add -Accept support for FileUpload #237

merged 1 commit into from
Dec 2, 2021

Conversation

Badgerati
Copy link
Owner

Description of the Change

Adds a new -Accept parameter onto New-PodeWebFileUpload, to control what the file-upload dialog accepts. When not supplied, the default is everything (*/*).

Related Issue

Resolves #235

Examples

New-PodeWebFileUpload -Name 'File' -Accept '.png', 'audio/*'

@Badgerati Badgerati added this to the 0.7.0 milestone Dec 2, 2021
@Badgerati Badgerati self-assigned this Dec 2, 2021
@Badgerati Badgerati merged commit da4c575 into develop Dec 2, 2021
@Badgerati Badgerati deleted the Issue-235 branch December 2, 2021 21:36
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.

Add accept property support for File Upload
1 participant