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

Can't get editor component to show value #2354

Closed
tylerphelan opened this issue Apr 21, 2021 · 2 comments · Fixed by #2375
Closed

Can't get editor component to show value #2354

tylerphelan opened this issue Apr 21, 2021 · 2 comments · Fixed by #2375

Comments

@tylerphelan
Copy link

tylerphelan commented Apr 21, 2021

What steps did you take and what happened:

I can't seem to get the editor component to render the text value

editor := component.NewEditor(component.TitleFromString("Edit Yaml"), "foobar", false)

Renders:

Screen Shot 2021-04-21 at 2 45 52 PM

Anything else you would like to add:

I've tried a few configurations for the editor component.

Environment:

  • Octant version (use octant version): 0.19.0 binary, 0.19.0 imported
  • Kubernetes version (use kubectl version): 1.17
  • OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): mac 10.14
@GuessWhoSamFoo
Copy link
Contributor

GuessWhoSamFoo commented Apr 21, 2021

There's a CSS bug where the editor does not show height if it is in a flexlayout section which may be relevant here

@tylerphelan
Copy link
Author

tylerphelan commented Apr 21, 2021

There's a CSS bug where the editor does not show height if it is in a flexlayout section which may be relevant here

fwiw I tried the editor in a button's modal with no flexlayout and it rendered the same way

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants