Skip to content

Can't insert or write number separated by dot in float field #16936

@DmitryUgryumov

Description

@DmitryUgryumov

Bug report

Required System information

  • Node.js version: 16.20.0
  • Yarn version: 1.22.19
  • Strapi version: 4.9.0
  • Database: PostgreSQL
  • Operating system: Alpine Linux v3.17
  • Is your project Javascript or Typescript: Javascript

Describe the bug

it is not possible to insert or write a number separated by dots into a floating point field, although strapi v3 has no problem with this. All cards give coordinates with a dot, after which it is not possible to insert them into strapi. I tried to update to the latest version for today (4.10.7), everything is the same in it

Steps to reproduce the behavior

  1. Go to 'Content manager' -> collection of data that has a float type field
  2. Fill in with a number separated by a dot or insert a number separated by a dot
  3. The field remains empty or does not change the content

Expected behavior

A number separated by a dot is inserted or written into the float field

Screenshots

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Fixed/Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions