### What problem does this PR solve?
Could not delete Entity Types from the Knowledge Graph settings. The
list was not updated on pressing the X on a tag.
What I think happened:
- value={field} was passing ['parser_config','entity_types'] to EditTag
instead of the real tags.
- That blocked AntD Form from injecting the right value/onChange.
- Clicking X filtered the wrong “value,” so no visible change.
Fix:
- Remove value={field} and let Form.Item control EditTag.
- EditTag now gets the real tags array and emits onChange(tags), Form
captures it.
Now it works.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
|
||
|---|---|---|
| .. | ||
| .husky | ||
| .storybook | ||
| public | ||
| src | ||
| .env | ||
| .eslintrc.js | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| .umirc.ts | ||
| externals.d.ts | ||
| jest-setup.ts | ||
| jest.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tailwind.css | ||
| tsconfig.json | ||
| typings.d.ts | ||