Skip to content

Remove `InputTooltip` component

Administrator requested to merge lrh/remove-input-tooltip into main

Created by: lrhacker

Now that the Tooltip component supports disabled inputs, we can remove the specialized InputTooltip component that was used as a workaround for this use case.

Unfortunately, due to how our actual Input and Checkbox components are normally styled and used, we still had to use the existing Button method that InputTooltip did to get the checkboxes to appear normally. I will be making a separate issue to look into fixing up the styles of the other components to not break the checkbox rendering by default, even when the checkbox has no label (e.g. set a default checkbox size, so they will never be rendered smaller than the expected 13x13px shown in Figma).

Test plan

Check that tooltips on these inputs still behave as expected.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading