Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.47k stars 1.55k forks source link

Allow fields formatting #5129

Open Havock94 opened 2 years ago

Havock94 commented 2 years ago

Describe the feature request It would be nice to be able to define formats for fields like dates and numbers, where every localization has its own "rules" for displaying values.

E.g. for an application with Italian locale, I would like to be able to format a date as DD/MM/YYYY or format a number to always have 2 decimal digits, a thousand separator (.) and a decimal separator (,) (and maybe a prefix/suffix symbol like €, but this can be addressed in the label for now)

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity.

agruenberg commented 2 years ago

In my opinion this is a very important feature for application development. Nearly any application needs number and date formatting.

morphace commented 2 years ago

Yes, can't believe that this is not possible at the moment. Extremely important feature.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.

melohagan commented 1 year ago

There is a custom date picker component for using specific locales if it helps here: https://github.com/melohagan/budibase-component-kasper-date-picker

It supports Italian among a few others.

Havock94 commented 1 year ago

@melohagan thank you, do you have any docs on how to include it in apps? (I only see the standard date picker when adding form fields).

Thank you!

melohagan commented 1 year ago

@melohagan thank you, do you have any docs on how to include it in apps? (I only see the standard date picker when adding form fields).

Thank you!

I should have linked that - here you go! https://docs.budibase.com/docs/custom-plugin#importing-plugins

Select Github as the source.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.