How to insert line break in placeholder in text area field?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
I am surprised no one came up with a working solution in the last 9 years.
You can simply add & # 1 0 ; (without spaces) to your placeholder text, browser will register it as line feed.
Is it possible ?? ;) Have you tried \n \r ?
yes tried that didn't work.
Only by formatting with multiple spaces, e.g.:
1st line of placeholder starts here 2nd starts here etc
If the size of textarea is fixed, browsers will show such long texts as if they were on multiple lines.
You'll have to fine-tune the number of spaces to make placeholder text look as you like.
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
7월 16
|
4550 | ||
|
0
7월 16
|
5394 | ||
|
1
12월 15
|
3954 | ||
|
1
11월 15
|
5332 | ||
|
1
1월 24
|
16044 |
Hello ,
You get any solution because i am facing similar problem.