Fixed: IncludeFiles if File Selection Modal

This commit is contained in:
Qstick 2019-04-05 22:51:32 -04:00
parent 3cd58d5866
commit 789ce8a58f
5 changed files with 58 additions and 20 deletions

View file

@ -20,6 +20,8 @@ function getType(type) {
return inputTypes.NUMBER;
case 'path':
return inputTypes.PATH;
case 'filepath':
return inputTypes.PATH;
case 'select':
return inputTypes.SELECT;
case 'tag':
@ -84,7 +86,7 @@ function ProviderFieldFormGroup(props) {
errors={errors}
warnings={warnings}
pending={pending}
hasFileBrowser={false}
includeFiles={type === 'filepath' ? true : undefined}
onChange={onChange}
{...otherProps}
/>