Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Text component with status icons does not render #1688

Closed
GuessWhoSamFoo opened this issue Nov 23, 2020 · 0 comments · Fixed by #2811
Closed

Text component with status icons does not render #1688

GuessWhoSamFoo opened this issue Nov 23, 2020 · 0 comments · Fixed by #2811
Assignees
Labels
bug Something isn't working component

Comments

@GuessWhoSamFoo
Copy link
Contributor

What steps did you take and what happened:

		tableRow := component.TableRow{
			"Name":    component.NewText(name, func(t *component.Text) {
				t.SetStatus(component.TextStatusOK)
			}),
		}

This results in a table with two errors on the browser:
ERROR NullInjectorError: R3InjectorError(SugarloafModule)[ClrPopoverToggleService -> ClrPopoverToggleService -> ClrPopoverToggleService -> ClrPopoverToggleService]: NullInjectorError: No provider for ClrPopoverToggleService!

ERROR Error: ASSERTION ERROR: Reached the max number of directives [Expected=> 1 != 1 <=Actual]

What did you expect to happen:
Setting a status on a text component does not have any details to show so it should not need a popover, but the icons are expected to be visible.

Anything else you would like to add:
xref #1360

  • Octant version (use octant version): 0.16.2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant