Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: TextAreaField output is identical to StringField #224

Closed
dfioravanti opened this issue Jul 3, 2023 · 0 comments
Closed

Bug: TextAreaField output is identical to StringField #224

dfioravanti opened this issue Jul 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dfioravanti
Copy link

Describe the bug
I have a long text formatted with newlines kinda like

Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
Pellentesque fringilla non justo in laoreet.
Morbi et tincidunt nunc. 
Phasellus vulputate non nisi vel molestie.

displaying it in a StringField shows it on one single line, which is fine. The problem is that TextAreaField has the same behavior. My understanding is that TextAreaField should respect the new lines right?

To Reproduce
Create a TextAreaField and visualize it's value

Environment (please complete the following information):

  • Starlette-Admin version: 0.10
  • ORM/ODMs: SQLAlchemy

Additional context
Add any other context about the problem here.

@dfioravanti dfioravanti added the bug Something isn't working label Jul 3, 2023
jowilf added a commit that referenced this issue Jul 5, 2023
@jowilf jowilf closed this as completed in 39de215 Jul 5, 2023
@jowilf jowilf mentioned this issue Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant