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 disabled status to file input #43

Merged
merged 3 commits into from
Mar 1, 2024

Conversation

joaomsg11
Copy link
Collaborator

No description provided.

@@ -16,6 +16,7 @@ export class FileInputComponent extends MultipleValueAccessorBase<File> {
@Input() onlyShowUploadButton = false;
@Input() useFullParentSize = false;
@Input() buttonText: string = 'Upload a file';
@Input() disabled: boolean = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

valueAccessorBase already has this property, which you are extending from

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed i only checked the parent for the inputs. Fixed in the next commit

@joaomsg11 joaomsg11 force-pushed the make_file_input_disabled_via_input branch from c67d68d to e5cd172 Compare March 1, 2024 13:28
@wouter-willems wouter-willems merged commit 0e04e33 into main Mar 1, 2024
1 check passed
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