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

File Input Dynamically Add File to File Input #572

Closed
Peace-N opened this issue Jan 23, 2018 · 2 comments
Closed

File Input Dynamically Add File to File Input #572

Peace-N opened this issue Jan 23, 2018 · 2 comments

Comments

@Peace-N
Copy link

Peace-N commented Jan 23, 2018

I have been having a challenge with file input, i need to dynamically add file data to this widget, I have the data coming from the DB, so sort of preselected file ..

Help will be appreciated ..

@Minstel
Copy link
Collaborator

Minstel commented Feb 9, 2019

@Peace-N Hi! Sorry for not answering for so long, we didn't have time to review issues. Is your question still actual?

If so, do you mean it's preselected on page load, or after page load (file is selected from DB, say, via AJAX)?

@jasny
Copy link
Owner

jasny commented May 29, 2019

This is possible with the .fileinput-new and .fileinput-exists classes.

@jasny jasny closed this as completed May 29, 2019
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

3 participants