pro-table icon indicating copy to clipboard operation
pro-table copied to clipboard

πŸ›[BUG] Collapsed fields don't appear in the search query

Open smddzcy opened this issue 5 years ago β€’ 2 comments

πŸ› bug description

When you edit a search field, collapse it, and submit the search form, it won't appear in the request parameters.

πŸ“· Steps to reproduce

  • Create a table with 4-5 searchable columns (so that you can see the collapse button in the search form).
  • Un-collapse the search form.
  • Edit a search field and submit the search. It works perfectly, the field appears in the request parameters.
  • Collapse the search form and submit it again. It won't work this time, the previously edited search field won't appear in the request parameters because that is hidden in the search form.

🏞 Expected result

Whether the search field is collapsed or not, it should always appear in the request parameters if it has a value.

πŸ’» Reproducible code

Β© Version Information

"@ant-design/pro-layout": "5.0.9" "@ant-design/pro-table": "^2.2.2" "umi": "3.1.1" "umi-request": "1.2.19" mac OS, Chrome Version 81.0.4044.122

πŸš‘ Other information [Other information such as screenshots can be posted here]

smddzcy avatar Apr 30 '20 10:04 smddzcy

you are right! do you give a pr?

chenshuai2144 avatar May 05 '20 07:05 chenshuai2144

I would love to, but honestly, I don't have that much time to familiarize myself with the code and open a PR. I just wanted to report this. Thanks for maintaining a great library.

smddzcy avatar May 05 '20 07:05 smddzcy