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

Select values only showing first letter of value #362

Open
1 task done
EnzoBitMatrix opened this issue Feb 4, 2025 · 4 comments
Open
1 task done

Select values only showing first letter of value #362

EnzoBitMatrix opened this issue Feb 4, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@EnzoBitMatrix
Copy link

Mautic Version

4.2.x series

PHP version

8.3.16

What browsers are you seeing the problem on?

Microsoft Edge, Chrome

What happened?

When saving an item with a select drop down, only the first letter of the 'Value' is displayed.

I am using Mautic 5.2.2

How can we reproduce this issue?

Step 1: Create a new object
Step 2: Create a new item
Step 3: Add a new 'Select' Field
Step 4: Add some options
Step 5: Save save save
Step 6: Create a new record under your object
Step 7: Select an option in your select drop down
Step 8: Save
Step 9: View the object details - Select option will just have the first letter of the 'Value' field

Relevant log output

No log outputs.

Code of Conduct

  • I confirm that I have read and agree to follow this project's Code of Conduct
@EnzoBitMatrix EnzoBitMatrix added the bug Something isn't working label Feb 4, 2025
@EnzoBitMatrix EnzoBitMatrix changed the title Your bug title goes here! Select values only showing first letter of value Feb 4, 2025
@escopecz
Copy link
Contributor

escopecz commented Feb 4, 2025

Hey, can you share a screenshot?

@EnzoBitMatrix
Copy link
Author

EnzoBitMatrix commented Feb 4, 2025

Hey, can you share a screenshot?

Certainly! For reference, this applies to both creating the record through the UI, and also through the API.

Image

Image

Image

Image

@EnzoBitMatrix
Copy link
Author

EnzoBitMatrix commented Feb 4, 2025

Also, I don't know if you want this one here, or if I should create a new bug...

When using 'MultiSelect' only the first option is displayed in the record. It does save all the selected values though, because when you edit the record, the options are still selected.

Image

Image

Image

@escopecz
Copy link
Contributor

escopecz commented Feb 5, 2025

Now it's clear. Thank you for your bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants