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

Phone number field is not checked as a string and does not update correctly #1219

Open
MahdiBagheri71 opened this issue Sep 4, 2023 · 2 comments
Labels

Comments

@MahdiBagheri71
Copy link

Describe the bug :

The phone number field that is defined as a string in the database does not work properly and is checked as a numeric value. For example, it does not distinguish between 0913 and 913, while there is a difference between these two strings and the record is updated.

To Reproduce:

Package: 4.7
Expected behavior The phone number field should be checked as a string and its changes should be recorded in the database.

Versions:

PHP: 8.2
Database: mysql
Laravel: 10.0
Package: 4.7

@debuqer
Copy link

debuqer commented Oct 24, 2023

Have you tried to use useAttributeRawValues?

This tells ActiviyLogger to use the Raw value of attributes instead of casting them

@MahdiBagheri71
Copy link
Author

Have you tried to use useAttributeRawValues?

This tells ActiviyLogger to use the Raw value of attributes instead of casting them

not work :(

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

No branches or pull requests

2 participants