ragflow/web
Adrian Altermatt 97401c1e33
Removing value={field} from EditTag (#10767)
### 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)
2025-10-27 11:09:20 +08:00
..
.husky
.storybook feat(storybook): Storybook with Calendar and Modal components #9869 (#10626) 2025-10-17 09:58:52 +08:00
public Feat: Replace the collapse icon #9869 (#10442) 2025-10-09 17:21:38 +08:00
src Removing value={field} from EditTag (#10767) 2025-10-27 11:09:20 +08:00
.env
.eslintrc.js Feat: Display AvatarUpload and RAGFlowAvatar in Storybook #9914 (#9920) 2025-09-04 18:02:17 +08:00
.gitignore Feat: Use storybook to display public components. #9914 (#9915) 2025-09-04 17:03:36 +08:00
.npmrc
.prettierignore
.prettierrc
.umirc.ts Feat: Allow chat to use meta data #3221 (#9393) 2025-08-12 10:15:10 +08:00
externals.d.ts
jest-setup.ts
jest.config.ts
package-lock.json Feat: Adjust the style of the canvas node #10703 (#10795) 2025-10-27 10:36:36 +08:00
package.json Feat: Adjust the style of the canvas node #10703 (#10795) 2025-10-27 10:36:36 +08:00
postcss.config.js Feat: Use storybook to display public components. #9914 (#9915) 2025-09-04 17:03:36 +08:00
tailwind.config.js Feat: Change the style of all cards according to the design #10703 (#10704) 2025-10-21 20:08:55 +08:00
tailwind.css Feat: Adjust the style of the delete button on the agent side #9869 (#10473) 2025-10-10 19:52:08 +08:00
tsconfig.json
typings.d.ts