pro-table
pro-table copied to clipboard
π[BUG] Collapsed fields don't appear in the search query
π 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]
you are rightοΌ do you give a prοΌ
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.