GlFilteredSearch - Add readonly state to search bar and tokens
Problem to solve
For gitlab#344452 (closed) we need to show the GlFilteredSearch and tokens as read-only as certain roles don't have access to other terms.
Designs
Proposal
- Add a
readonlyproperty toGlFilteredSearch. When true:- Don't show the suggestions list.
- Don't show the clear
Xbutton. - Don't allow the user to type or clear any existing text or tokens.
- Add a
disabledproperty toGlFilteredSearchToken. When true:- Don't allow the user to change it.
- Don't show the clear
Xpostfix.
Edited by Jiaan Louw

