× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

How to get a decimal field to default to an empty value?

3 年 8 个月 前 #9817 Steven Fung
If I create a DECIMAL(5,4) field then the default value in the admin form is "0.0000".

Does anyone know how I can get this to default to an empty value instead? I can do this overriding the back end code but wondering if there's an option in the creator interface that will let me do this more easily?

Thanks,
Steve.

Please 登录注册一个帐号 to join the conversation.

3 年 5 个月 前 - 3 年 5 个月 前 #9851 Emmanuel Tsalampounis
Replied by Emmanuel Tsalampounis on topic How to get a decimal field to default to an empty value?
Hello Steven,
There are some recent changes on the J4 version of component-creator for the way that values are stored.
If you are a premium member please create a support request to check your component and tell you if that is possible to set the empty value by default.
Last edit: 3 年 5 个月 前 by Emmanuel Tsalampounis.

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.065秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.