Custom Field Text Types

36 views
Skip to first unread message

Christoph H. Larsen

unread,
Jul 22, 2014, 2:38:42 AM7/22/14
to erpnext-dev...@googlegroups.com
Dear All,
I noted that the field types "Long Text", "Text" and "Small Text" all produce a multi-line text box, regardless of the field's width. The latter does NOT seem to be respected anyway.
Of course, all caches have been cleared, etc. etc.
Am I missing something?
Chris

Rushabh Mehta

unread,
Jul 22, 2014, 2:46:49 AM7/22/14
to erpnext-dev...@googlegroups.com
No all default to Text in the database. Small Text is rendered differently in the view (the text area is much smaller!)

Chris

--
Note:
 
If you are posting an issue,
 
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/f2a5f7b5-76e3-46c9-abf9-2ac3286ccc4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Christoph H. Larsen

unread,
Jul 22, 2014, 3:38:08 AM7/22/14
to erpnext-dev...@googlegroups.com
That's what I assumed, too, but it won't do that. For "Small Text, "Text" and "Long Text" the field entry size is the same, as big as the "Options" field in the Custom Field setup facility. :-(

Rushabh Mehta

unread,
Jul 22, 2014, 4:30:04 AM7/22/14
to erpnext-dev...@googlegroups.com
On 22-Jul-2014, at 1:08 pm, Christoph H. Larsen <christoph...@gmail.com> wrote:

That's what I assumed, too, but it won't do that. For "Small Text, "Text" and "Long Text" the field entry size is the same, as big as the "Options" field in the Custom Field setup facility. :-(

Long Text is deprecated (we will remove that - there should be a difference in Small Text and Text though.


On Tuesday, 22 July 2014 13:46:49 UTC+7, rushabh wrote:

On 22-Jul-2014, at 12:08 pm, Christoph H. Larsen <christoph...@gmail.com> wrote:

Dear All,
I noted that the field types "Long Text", "Text" and "Small Text" all produce a multi-line text box, regardless of the field's width. The latter does NOT seem to be respected anyway.
Of course, all caches have been cleared, etc. etc.
Am I missing something?

No all default to Text in the database. Small Text is rendered differently in the view (the text area is much smaller!)

Chris

--
Note:
 
If you are posting an issue,
 
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note

--
Note:
 
If you are posting an issue,
 
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.

Christoph H. Larsen

unread,
Jul 22, 2014, 7:03:09 AM7/22/14
to erpnext-dev...@googlegroups.com
Alas, it won't make any difference - both text entry fields are multi-line and huge, same as the "Options" field in custom fields.
Mac versus *nix appearance???
Also, entries in the "Width" are NOT honoured.
Sorry -
Chris

Rushabh Mehta

unread,
Jul 22, 2014, 8:01:37 AM7/22/14
to erpnext-dev...@googlegroups.com


Alas, it won't make any difference - both text entry fields are multi-line and huge, same as the "Options" field in custom fields.
Mac versus *nix appearance???

What are you using? Can you share a screenshot

Also, entries in the "Width" are NOT honoured.

yeah - its deprecated

Sorry -

No thanks for reporting - please use the GitHub Issues too :)


You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.

Christoph H. Larsen

unread,
Jul 22, 2014, 11:08:35 PM7/22/14
to erpnext-dev...@googlegroups.com
Thanks, Rushabh, kindly see: https://github.com/frappe/erpnext/issues/1976
Reply all
Reply to author
Forward
0 new messages