Add QGoogleDriveFolderPicker

This commit is contained in:
2022-09-23 10:35:24 -05:00
parent 734c2b4ea0
commit 01916286b0
5 changed files with 158 additions and 21 deletions

View File

@ -87,6 +87,11 @@ function QDynamicForm(props: Props): JSX.Element
values[fieldName] = "";
}
if (field.omitFromQDynamicForm)
{
return null;
}
if (field.type === "file")
{
return (
@ -95,7 +100,7 @@ function QDynamicForm(props: Props): JSX.Element
<Box display="flex" alignItems="center">
<Button variant="outlined" component="label">
<span style={{color: "#606060"}}>Choose file to upload</span>
<span style={{color: colors.lightBlue[500]}}>Choose file to upload</span>
<input
id={fieldName}
name={fieldName}