Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sunil Kumar KC 5 posts 94 karma points
    Jun 09, 2023 @ 12:26
    Sunil Kumar KC
    0

    Conditional Displayers not working while creating the new component.

    Hi Mario,

    I am using Conditional Displayers 2.3.4 on Umbraco 8.18.8, the dropdown display is not working when we create a new component. The conditional dropdown display is in a doctype used from Block List (kind of nested contents).

    Surprisingly, on the settings page when we open the doctype, properties are hidden (as mentioned in the condition display datatype). See the below image. There are more properties that are hidden. enter image description here

    Data type:: enter image description here

    Content node: VideoU URL, Upload Video, and Video thumbnail should be hidden. enter image description here

    Please let me know your suggestions on this.

  • Mario Lopez 168 posts 952 karma points MVP 3x c-trib
    Jun 16, 2023 @ 00:15
    Mario Lopez
    100

    Hi Sunil,

    That issue seems related to this PR: https://github.com/skartknet/ConditionalDisplayers/pull/2

    Unfortunately that fix is not available for the version you are using, but you can maybe take a look and modify the javascript?

  • Sunil Kumar KC 5 posts 94 karma points
    Jun 20, 2023 @ 10:12
    Sunil Kumar KC
    0

    Thanks, Mario

    The changes in the PR worked.

    Minor correction in the checkbox.html (see the code below) 

    <ng-form name="modelValueForm">
        <umb-toggle ng-model="toggleValue"
                    label="{{toggleLabel}}"
                    labelPosition="right"
                    checked="renderModel.value"
                    ng-click="clicked()">
        </umb-toggle>
    </ng-form>
    

Please Sign in or register to post replies

Write your reply to:

Draft