Skip to content

GlTokenSelector: Add `state` property for validation

GlTokenSelector doesn't work with GlFormGroup validation because it uses a CSS sibling selector to change the input border. GlTokenSelector is complicated enough that the sibling selector doesn't target it correctly. We can fix this by adding a state prop to the component.

The state prop should function the same way as the state prop functions in Bootstrap Vue BFormInput