Issue 8524

Add placeholder for fields
Nosy list
ced, pokoli, reviewbot
Assigned to

Created on 2019-07-24.17:43:15 by pokoli, last changed 8 months ago by ced.


Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-10-21.16:43:17

Instead of managing the placeholder as the help text, I think we could have it just as a simple attribute of fields.Char without automatic translation. This is because I think that most of the placeholder will not have to be translated (see the example of the review which are not translatable or other common case will be format like IBAN etc.).
But also I think the placeholder could point to a field so it should be a PYSON statement, like that it can be dynamic depending on the record. For example the identifiers could have an placeholder per type.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-08-07.23:10:43
I do not like too much that placeholders appear in many places in the core (translation, field register etc.) but only available to Char (for tryton) and Char and Text (for sao). I think if we want to have them we need to find a solution for all fields. Maybe we can happen it to the help if the widget can not display placeholder.
Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2019-07-24.17:43:15
Date User Action Args
2021-10-21 16:43:17cedsetmessages: + msg71190
2019-08-07 23:10:43cedsetnosy: + ced
messages: + msg51104
2019-07-31 16:01:25reviewbotsetmessages: + msg50999
2019-07-24 17:58:42reviewbotsetnosy: + reviewbot
messages: + msg50849
2019-07-24 17:45:15pokolisetstatus: in-progress -> testing
reviews: 273651002
keyword: + review
2019-07-24 17:43:15pokolicreate

Showing 10 items. Show all history (warning: this could be VERY long)