Optional
props: CreateQuestionPropsOptional
entityTypeFilter?: EntityTypeFilterKeys[]Optional
initialSqlParameters?: ParameterValuesInitial values for the SQL parameters.
Optional
isSaveEnabled?: booleanWhether to show the save button.
Optional
onBeforeSave?: (A callback function that triggers before saving. Only relevant when isSaveEnabled = true
Optional
onSave?: (A callback function that triggers when a user saves the question. Only relevant when isSaveEnabled = true
Optional
plugins?: MetabasePluginsConfigOptional
targetCollection?: SdkCollectionIdThe collection to save the question to. This will hide the collection picker from the save modal. Only applicable to interactive questions.
Optional
withDownloads?: booleanEnables the ability to download results in the interactive question.
An array that specifies which entity types are available in the data picker