Skip to content

feat: Add disabled property to search box by click

Adrien Kohlbecker requested to merge ak/disabled-search into master

With gitlab!22694 (merged) I am disabling the logs search box in some cases.

It turns out that the component supports disabling the input field (via v-bind="inputAttributes"), but it wouldn't disable associated controls such as the search button: a user could still generate click events on a disabled search box.

This MR adds a disabled property and propagates it to all the controls.

Edited by 🤖 GitLab Bot 🤖

Merge request reports