Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x]: Numbers in a plain text field on an element index page get numeric formatting applied #12205

Closed
angrybrad opened this issue Oct 26, 2022 · 2 comments
Assignees

Comments

@angrybrad
Copy link
Member

What happened?

Steps to reproduce

  1. Use a fresh install of the latest 4.3.0 release.
  2. Create a Plain Text field... let's call it SKU
  3. Create a channel section... let's call it Product
  4. Add SKU to Product's field layout.
  5. Create an entry in Product and give the SKU a numeric value: 356041
  6. Save the entry
  7. Add SKU to the entry index view via a custom source
  8. Notice local-specific numeric formatting is applied

CleanShot 2022-10-26 at 16 35 29

If you add a letter (i.e. 356a041) numeric formatting doesn't get applied.

This doesn't happen on the latest Craft 3.7 release, so this is a regression.

Expected behavior

Numeric formatting does not get applied to plain text fields on element index pages for plain text fields.

Actual behavior

It does get applied.

Craft CMS version

4.3.0

PHP version

8.1

Operating system and version

macOS

Database type and version

MySQL 8.1

Image driver and version

n/a

Installed plugins and versions

None

@brandonkelly
Copy link
Member

Fixed in 4.3.1

@yingban
Copy link

yingban commented Oct 28, 2022

@brandonkelly Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants