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

Disabled toggle field shows always true/enabled #2004

Closed
afbora opened this issue Aug 15, 2019 · 1 comment

Comments

@afbora
Copy link
Contributor

commented Aug 15, 2019

Describe the bug

FireShot Capture 728 - Ahmet Bora - Akyüz Plastik S_ - http___shop akyuz com tr_panel_users_DeeaE2bL

Disabled toggle field shows always true/enabled even value is false. Field text right when false but seems to be selected/checked/enabled.

fields:
    isProfileCompleted:
        label: Profile Completed
        type: toggle
        translate: false
        default: false
        disabled: true
        text:
            - Not yet
            - Yeah

To Reproduce
Steps to reproduce the behavior:

  1. Add above blueprint to any page
  2. You will see always as true, it will not matter whether the value is true or false.

Expected behavior

It should not be selected/checked/enabled when the value is false like that:

FireShot Capture 729 - Ahmet Bora - Akyüz Plastik S_ - http___shop akyuz com tr_panel_users_DeeaE2bL

Kirby Version
3.2.3

Desktop (please complete the following information):

  • Windows 10
  • Chrome 76.0.3809.100
  • PHP 7.2 / Apache 2.4
@afbora afbora referenced this issue Sep 7, 2019
0 of 4 tasks complete
@bastianallgeier bastianallgeier added this to the 3.2.5 milestone Sep 9, 2019
@bastianallgeier

This comment has been minimized.

Copy link
Contributor

commented Sep 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.