You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In struct type date, there is a parameter "format", by which the date is shown to the user. In the database, however, the real date format is yyyy-mm-dd all the time for better calculation (for sorting).
Now I want to achieve the same for struct type dropdown, because I use it to collect information, I want to use in calculations. Like the time in dropdown I want to be labelled like so: 01:00 Uhr, 01:00 Uhr, 02:00 Uhr, 03:00 Uhr, 04:00 Uhr, ... But in the database I want integers like so: 1,2,3,4,...
So I suggest to include a new list for labels in the struct type dropdown (in the schema editor), that acts like the list of labels and the list of headers in struct aggregation syntax. The headers are the values and the labels are just aliases. And in the schema editor, in the same way, there would be a list of labels that are shown to the user and a list of values that are entered into the database, accordingly. Somewhat like in the example of the struct type date, above, to handle the data in different formats, if you will.
The text was updated successfully, but these errors were encountered:
Chris75forumname
changed the title
[Feature request] list of label/alias for struct type dropdown, just like format in struct type date
[Feature request] list of label/alias for struct type dropdown, somewhat like format in struct type date
Nov 24, 2023
Chris75forumname
changed the title
[Feature request] list of label/alias for struct type dropdown, somewhat like format in struct type date
[Feature request] Add an associated label list to a list of values for struct field type dropdown (somewhat like format in struct type date)
Oct 17, 2024
In struct type date, there is a parameter "format", by which the date is shown to the user. In the database, however, the real date format is yyyy-mm-dd all the time for better calculation (for sorting).
Now I want to achieve the same for struct type dropdown, because I use it to collect information, I want to use in calculations. Like the time in dropdown I want to be labelled like so:
01:00 Uhr, 01:00 Uhr, 02:00 Uhr, 03:00 Uhr, 04:00 Uhr, ...
But in the database I want integers like so:1,2,3,4,...
So I suggest to include a new list for labels in the struct type dropdown (in the schema editor), that acts like the list of labels and the list of headers in struct aggregation syntax. The headers are the values and the labels are just aliases. And in the schema editor, in the same way, there would be a list of labels that are shown to the user and a list of values that are entered into the database, accordingly. Somewhat like in the example of the struct type date, above, to handle the data in different formats, if you will.
The text was updated successfully, but these errors were encountered: