Open thansidwell opened 2 months ago
Hi! May I be assigned this issue?
I have updated the filter option content (draft PR), but the filtering is malfunctioning. Any thought @CodeWritingCow?
@zheyichn great catch! It seems if we rename the options Yes/No
to Business/Individual
, then our filtering UI returns zero results. As a comparison, here's a screen recording of our current UI with the Yes/No
options for "Owner." Note how it returns filtered results as expected:
I see at least two different ways to resolve this:
Yes/No
option values "under the hood" but display their text in the UI as Business/Individual
"on the surface."What do you think?
Hi @CodeWritingCow, thanks for your inputs! I think option2 is easier at this moment and we can always come back to refactor the script later if needed. I have made some changes accordingly to adpat display flexibility here. Can you review it when you get a second?
If option1 is preferred, I am happy to dig more into the backend.
Hi @zheyichn, I've reviewed and approved your PR. Your solution allows front-end developers to be flexible with button text, so they don't have to be concerned with the backend. Thanks for looking into this!
Reword these filters