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

Allow to bind disabled of rendered input[type="file"] #171

Open
jkintscher opened this issue Aug 6, 2018 · 1 comment
Open

Allow to bind disabled of rendered input[type="file"] #171

jkintscher opened this issue Aug 6, 2018 · 1 comment

Comments

@jkintscher
Copy link

Would be awesome if you could disable the file input that the component renders via a binding. Something like

{{file-picker disabled=inProgress}}

I don’t see a way to make that work in the current version, but maybe I’m missing something?

@fsmanuel
Copy link
Member

fsmanuel commented Aug 8, 2018

Sounds like a good improvement. The way to go would be to add it in the template:
https://github.com/funkensturm/ember-cli-file-picker/blob/master/app/templates/components/file-picker.hbs#L25
respectively on your custom template.

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

No branches or pull requests

2 participants