-
-
Notifications
You must be signed in to change notification settings - Fork 548
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
Radio buttons in form submission not showing (dark mode) #10427
Comments
I've added the blueprint here: tabs:
main:
display: Main
sections:
-
fields:
-
handle: company_name
field:
placeholder: placeholder-company-name
type: text
display: 'Company name'
localizable: false
validate:
- required
-
handle: first_name
field:
placeholder: placeholder-firstname
type: text
display: 'First name'
localizable: false
width: 50
-
handle: last_name
field:
placeholder: placeholder-lastname
type: text
display: 'Last name'
localizable: false
width: 50
-
handle: phonenumber
field:
input_type: tel
placeholder: placeholder-phonenumber
type: text
display: Phonenumber
localizable: false
validate:
- required
-
handle: email_address
field:
input_type: email
placeholder: placeholder-email-address
type: text
display: 'Email address'
localizable: false
validate:
- required
-
handle: more_information_about
field:
options:
option_1: 'Option 1'
option_2: 'Option 2'
option_3: 'Option 3'
option_4: 'Option 4'
option_5: 'Option 5'
option_6: 'Option 6'
type: radio
display: 'More information about'
localizable: false
validate:
- sometimes
-
handle: question
field:
placeholder: placeholder-questions
type: textarea
display: Question
localizable: false
validate:
- required
|
Which browser are you using? Looking at your screenshot, it looks like it is showing as selected, but it's just hard to tell with the dark mode styles. |
@duncanmcclean This is Chrome, but I just tested it in light mode there, and it is indeed showing. I do however vote for a change because not everyone has such good eyes as you. |
I don't blame you for not being able to see it 😅 |
We had a look into this last week. Unfortunatley, it seems like the only way for us to fix it is to do away with the native |
This gives us better control over contrast, dark/light, and disabled states — something native HTML cannot do, sadly. Closes #10427.
Bug description
So I have a form with radio buttons, that contain 6 options.
Upon submitting the form I can see the correct selected radio option.
When I go to the submission, none of the radio buttons are selected.
The radio button should not be a required field. How would one go about resolving this? See the images below for a better understanding of the issue.
Blueprint:
The submission (we use AJAX):
The submission in Control Panel:
How to reproduce
Create a form.
Add radio buttons with a few options
Select one of the options and submit the form.
Look at the latest form submission in CP.
No radio button selected.
Logs
No response
Environment
Installation
Existing Laravel app
Additional details
No response
The text was updated successfully, but these errors were encountered: