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

How to set default listing of file uploaded ? #12

Open
jensonraby opened this issue Nov 22, 2016 · 2 comments
Open

How to set default listing of file uploaded ? #12

jensonraby opened this issue Nov 22, 2016 · 2 comments

Comments

@jensonraby
Copy link

jensonraby commented Nov 22, 2016

$scope.schema = {
                type: "object",
                properties: {
                    first_name: {
                        type: "string", title: "First Name *", "default": "test name"
                    }
             }
}

here we can assign a default value to a text box with first_name as ng-model

can anyone know how to assign default values to file upload schema ??

@jensonraby jensonraby changed the title How to set default listing of file uploaded ???? How to set default listing of file uploaded ? Nov 22, 2016
@saburab
Copy link
Owner

saburab commented Nov 22, 2016

do you want to set a custom file name prefilled in the file name input filed of the file browser dialog?

@jensonraby
Copy link
Author

yes, i need to prefilled file name which are already uploaded and saved in database that can be fetched through api.

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