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
Projects

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
@GuessWhoSamFoo GuessWhoSamFoo added bug Something isn't working component labels Nov 23, 2020
@wwitzel3 wwitzel3 added this to Incoming in Backlog Dec 15, 2020
@wwitzel3 wwitzel3 moved this from Incoming to Product Excellence in Backlog Jul 14, 2021
@GuessWhoSamFoo GuessWhoSamFoo self-assigned this Aug 30, 2021
@GuessWhoSamFoo GuessWhoSamFoo removed this from Product Excellence in Backlog Aug 30, 2021
@GuessWhoSamFoo GuessWhoSamFoo added this to To do in 0.24 via automation Aug 30, 2021
@GuessWhoSamFoo GuessWhoSamFoo moved this from To do to In progress in 0.24 Aug 30, 2021
0.24 automation moved this from In progress to Done Sep 2, 2021
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
No open projects
0.24
Done
Development

Successfully merging a pull request may close this issue.

1 participant