Skip to content

Commit 528ed2c

Browse files
committed
Update playground file upload demo
1 parent f0d691b commit 528ed2c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

docs/src/demos.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,17 @@ const DEMOS = [
189189
'type': 'object',
190190
'properties': {
191191
'base64_upload': {type: 'string', 'format': 'data-url'},
192-
'server_upload': {type: 'string', 'format': 'file-url'},
192+
'server_upload': {
193+
type: 'string',
194+
'format': 'file-url',
195+
'helpText': 'Default input for file-url opens a modal',
196+
},
197+
'simple_input': {
198+
type: 'string',
199+
'format': 'file-url',
200+
'widget': 'fileinput',
201+
'helpText': 'Custom input using widget: \'fileinput\''
202+
},
193203
}
194204
},
195205
data: {},

docs/static/js/playground.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)