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

Dropdown data hidden in order summary [4.x]: #13753

Closed
mjniland1 opened this issue Aug 24, 2023 · 8 comments
Closed

Dropdown data hidden in order summary [4.x]: #13753

mjniland1 opened this issue Aug 24, 2023 · 8 comments
Assignees

Comments

@mjniland1
Copy link

What happened?

Description

I've added some custom fields to my order form, including a dropdown menu. After an order is completed, the information from the dropdown should be visible within the order summary. However, the styling is currently set to 'display: none', making the field invisible. The data only becomes visible when the user clicks on the 'edit' option.

Steps to reproduce

  1. Add a custom dropdown field to /admin/commerce/settings/ordersettings
  2. Place an order
  3. View the order summary

Expected behavior

The dropdown data should be visible in the order summary.

Actual behavior

Display none is being applied to the field preventing the user from seeing the submitted data.

Screenshot-2023-08-24-at-6 09 24-PM

Screenshot-2023-08-24-at-6 14 41-PM

Screenshot-2023-08-24-at-6 14 53-PM

Craft CMS version

Craft Pro 4.5.1

Craft Commerce version

4.2.11

PHP version

8.1.20

Operating system and version

Linux

Database type and version

MySQL 8.0.33

Image driver and version

No response

Installed plugins and versions

Amazon S3 2.0.3
Authorize.net for Craft Commerce 4.0.4
Batch Actions 1.3.0
Calendarize 2.0.0
Comments 2.0.7
Control Panel CSS 2.6.0
Empty Coalesce 4.0.0
Feed Me 5.2.0
Formie 2.0.34.1
Neo 3.8.6
Quick Field 2.0.5
Redactor 3.0.4
Retour 4.1.13
Sprig 2.6.2
Table Maker 4.0.6

@jonleverrier
Copy link

jonleverrier commented Aug 25, 2023

Same here! I suspect it's something todo with Craft CMS v4.5.0, as it was fine before this release.

@brandonkelly
Copy link
Member

Thanks for reporting! Fixed for the next release via #13754.

@jonleverrier
Copy link

@brandonkelly is there anyway of getting this earlier via composer magic :) ? Would there be any consequence?

@brandonkelly
Copy link
Member

@jonleverrier You can change your craftcms/cms requirement to dev-develop as 3.5.6.1 and run composer update.

@jonleverrier
Copy link

@brandonkelly Much apprecciated

@brandonkelly
Copy link
Member

Craft 4.5.7 is out now with that fix.

@jonleverrier
Copy link

jonleverrier commented Oct 17, 2023

@brandonkelly @i-just After the update, disabled fields are looking very faint in Commerce. It looks like there is a .disabled class on selectize and selectize-input. disabled has an opacity of 0.25 X2 which is the reason why they look so faint.

Screenshot 2023-10-17 at 21 15 42 Screenshot 2023-10-17 at 21 16 07

@lukeholder
Copy link
Member

New issue created here: #13850

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

No branches or pull requests

5 participants