× 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?

pred 3 rokmi 9 mesiacmi #9817 od 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.

Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.

pred 3 rokmi 6 mesiacmi - pred 3 rokmi 6 mesiacmi #9851 od Emmanuel Tsalampounis
Odpoveď od Emmanuel Tsalampounis na tému 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.
Posledný krát upravené:pred 3 rokmi 6 mesiacmi Emmanuel Tsalampounis

Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.

Čas vytvorenia stránky: 0.048 sekúnd
Funguje na Kunena fórum

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.