Skip to content

Table 组件的 ShowSearchButton 设置为 false 仍然显示搜索按钮 #3479

@tony26050369

Description

@tony26050369

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

使用Table组件时,如果设置ShowSearchButton = false,仍然会显示出“搜索”按钮。

Expected Behavior

不应该显示出搜索按钮

Steps To Reproduce

用于重现的项目:https://github.com/tony26050369/BBIssues/
重现步骤:进入“/TableIssues" 页面,会看到仍然显示着搜索按钮,而代码中已经设置了ShowSearchButton = false。

我想简单解释一下为什么我们需要隐藏这个搜索按钮。因为我们的搜索条件比较麻烦,所以把搜索条件都放了SearchTemplate中,用户需要点击“高级搜索”进行查询,同时设置了ShowSearchText="false",所以单独的这个搜索按钮是没有任何作用的。

image

image

Exceptions (if any)

No response

.NET Version

8

Anything else?

No response

Metadata

Metadata

Assignees

Labels

questionQuestion that needs to be answered

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions