Numbers with decimals rounded off

Hi!

I have a couple of number fields in my custom type. Whenever I set a value containing decimals, it is rounded off in the UI after I publish the document. The value still shows up with decimals on my site, so it seems to be a problem in the Prismic UI.

So if I set the value to 5.2 for example, and then publish, my site will show 5.2 but Prismic UI will show just 5. It can be quite confusing.

I'm using Chrome version 96.0.4664.45 on Windows, if that might be of any importance.

1 Like

Hello Sebastian, thanks for joining the community!

This is a known issue, and we already have a fix available. I'll need the name of your repository so I can activate it for you.

You can send it over via dm or post it here, as you prefer.

Thanks!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.