Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: steedos-field组件支持在作为lookup字段时配置可搜索项 #495

Open
yinlianghui opened this issue Oct 18, 2023 · 0 comments
Assignees
Labels
new feature New feature or request
Milestone

Comments

@yinlianghui
Copy link
Contributor

Summary 摘要

目前lookup字段可搜索项识别的是元数据中列表视图searchable_fields属性以及字段上的filterable属性,并没有考虑在使用amis画的表单中调用steedos-field配置的lookup字段的情况
需要对steedos-field组件做以下改进:

  • 增加新属性filterable_fields,用于配置此lookup字段弹出列表选择时的搜索项字段清单
  • 如果指定了filterable_fields属性,不识别本地存储中记录的可搜索项,也不把界面上配置的可搜索项保存到本地存储中
  • 如果指定了filterable_fields属性,则直接识别此数组内容作为可搜索项配置,不再识别列表视图searchable_fields属性以及字段上的filterable属性
    image

Why should this be worked on? 此需求的应用场景?

审批王自定义界面上调用steedos-field组件时无法指定可搜索项目

@yinlianghui yinlianghui added the new feature New feature or request label Oct 18, 2023
@yinlianghui yinlianghui self-assigned this Oct 19, 2023
@yinlianghui yinlianghui added this to the 2.5 milestone Oct 19, 2023
@yinlianghui yinlianghui added priority: High 优先 and removed priority: High 优先 labels Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant