diff --git a/ui/src/app/form/component/fields/FilterTargetField.js b/ui/src/app/form/component/fields/FilterTargetField.js index 9483d861a..9cb127c79 100644 --- a/ui/src/app/form/component/fields/FilterTargetField.js +++ b/ui/src/app/form/component/fields/FilterTargetField.js @@ -10,6 +10,7 @@ import { AsyncTypeahead } from 'react-bootstrap-typeahead'; import useFetch from 'use-http'; import queryString from 'query-string'; import API_BASE_PATH from '../../../App.constant'; +import isNil from 'lodash/isNil'; const ToggleButton = ({ isOpen, onClick, disabled }) => ( + + + } + + + + + ); + }} + + + + + ); +} \ No newline at end of file diff --git a/ui/src/app/metadata/wizard/MetadataFilterTypeSelector.js b/ui/src/app/metadata/wizard/MetadataFilterTypeSelector.js index f582f2eb9..a634c7f25 100644 --- a/ui/src/app/metadata/wizard/MetadataFilterTypeSelector.js +++ b/ui/src/app/metadata/wizard/MetadataFilterTypeSelector.js @@ -13,7 +13,7 @@ export function MetadataFilterTypeSelector({ types = [], children, actions}) { mode: 'onChange', reValidateMode: 'onChange', defaultValues: { - type: null + type: 'NameIDFormat' }, resolver: undefined, context: undefined,