Work around Chrome's over-eager validation of integration config form.

Review Request #11184 — Created Sept. 19, 2020 and submitted — Latest diff uploaded

Information

ReviewBot
release-2.0.x

Reviewers

Chrome loves to test the validation of forms, even going so far as to
run validation on inputs which are not visible to the user. It then
errors out on the console that it can't focus the input. This change
goes through and adds the disabled prop to any tool option inputs
which are hidden (because they don't apply to the currently-selected
tool), working around the validation on the client.

Was able to create an integration config for Review Bot without Chrome
going nuts.

Commits

Files