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

Placeholder field on textarea field should be multi line #9003

Closed
3 tasks done
martijn-dev opened this issue Oct 21, 2021 · 2 comments · Fixed by #9041
Closed
3 tasks done

Placeholder field on textarea field should be multi line #9003

martijn-dev opened this issue Oct 21, 2021 · 2 comments · Fixed by #9041
Assignees

Comments

@martijn-dev
Copy link

Preflight Checklist

Describe the Bug

It's more an improvement then a bug.

The placeholder field on the textarea interface is a single line input.
Since the textarea interface is a multi line view you should expect the placeholder field to be multi line as well.

image

To Reproduce

  • Create a field of type "Text".
  • Go to the interface section.
  • Select "Textarea" and try to set a placeholder text.

Errors Shown

No response

What version of Directus are you using?

v9.0.0-rc.98

What version of Node.js are you using?

v16.6.1

What database are you using?

Postgres 13.3

What browser are you using?

Chrome

What operating system are you using?

Windows 10

How are you deploying Directus?

running locally

@rijkvanzanten
Copy link
Member

rijkvanzanten commented Oct 26, 2021

Wanna open a PR for this tweak? Should be as simple as replacing this:

With "input-multiline" 🙂

Nevermind, didn't realize @azrikahar already did it 😄

@martijn-dev
Copy link
Author

martijn-dev commented Apr 21, 2022

In the current version the placeholder field for a textarea changed back again to an input field instead of an textarea.

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

Successfully merging a pull request may close this issue.

3 participants