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

il y a 3 ans 10 mois #9817 par 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.

Connexion ou Créer un compte pour participer à la conversation.

il y a 3 ans 7 mois - il y a 3 ans 7 mois #9851 par Emmanuel Tsalampounis
Réponse de Emmanuel Tsalampounis sur le sujet 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.
Dernière édition: il y a 3 ans 7 mois par Emmanuel Tsalampounis.

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.051 secondes
Propulsé par 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.