To use the drag and drop functionality the input element has to be configured the following way:
input_data = { 'fields': [ { 'title': 'Personal information', 'fields': [ { 'mapping': 'Upload', 'fieldName': 'Drag & Drop', 'inputType': 'file', 'dragAndDrop': True, } ] } ] } s.plt.input_form( order=0, options=input_data )
Last updated 1 year ago