Skip to content

Commit

Permalink
Fixed issue with attribute creation path
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 13, 2021
1 parent 07b40ac commit c82a269
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui/src/app/form/component/fields/FilterTargetField.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ const FilterTargetField = ({
className="form-control"
type="text"
name="script"
value={selectedTarget[0]}
onChange={ ({target: { value }}) => handleTextChange(value) } />
{errorSchema?.value?.__errors ?
<small className="form-text text-danger">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { defaultsDeep } from "lodash";
import { BASE_PATH } from "../../../App.constant";

export const CustomAttributeDefinition = {
label: 'Metadata Attribute',
type: '@MetadataAttribute',
steps: [],
schema: `/assets/schema/attribute/attribute.schema.json`,
schema: `${BASE_PATH}assets/schema/attribute/attribute.schema.json`,

uiSchema: {
layout: {
Expand Down

0 comments on commit c82a269

Please sign in to comment.