Skip to content

FilteredConnection: set <select> option as selected if value is in URL

Administrator requested to merge mrn/fix-filt-conn-select into main

Created by: mrnugget

This fixes <Select /> by displaying the selected option when ?filter=<option> is given in the URL.

It worked for radio before, which does the same thing as I do in the selected={} here.

Before: screenshot_2022-08-02_14 18 17@2x

After:

screenshot_2022-08-02_14 17 39@2x

Test plan

  • Manual testing

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading