-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Taxonomy with Number and + converted to int and cannot be added to a content type #2201
Comments
Nevermind! It's already in the correct one.. We'll take a look! |
Also happens with a
|
When change to object with string definition it works: |
@develth I've had a look and, in fact, there's a reason why we do it this way.
This line makes sure that, unless a key is set, the key is slugified. In the example you provide, The "fix" for this is to make sure that the key is always the string |
Thanks for the clarification about that behaviour. |
@develth no worries, thanks for bringing this up! It's a pretty interesting "edge case" 😅 |
Let's close this one. |
I have a taxonmy option called '66+', when adding it at the Backend to the Content-Type, i get an Error:
When debugging in Frontend, i recognized that the value is already set as int by vue.
Details
Reproduction
Add Taxonmy like
Steps to reproduce
Add Taxonmy to Content-Type
Expected result
Should save '66+', not 66.
Actual result
Error, because converted to integer
The text was updated successfully, but these errors were encountered: