Skip to content

fix(sdk): readonly mode is overridden by the UI schema rule - #100

Open
szymon-t-sc wants to merge 3 commits into
mainfrom
fix/WB-537-contorl-disabled
Open

fix(sdk): readonly mode is overridden by the UI schema rule#100
szymon-t-sc wants to merge 3 commits into
mainfrom
fix/WB-537-contorl-disabled

Conversation

@szymon-t-sc

Copy link
Copy Markdown
Member

Before

Nagranie.z.ekranu.2026-08-26.o.09.42.20.mov

After

Nagranie.z.ekranu.2026-08-26.o.09.58.42.mov
Reason

"rule" changes the default "enable" to true.

      type: 'HorizontalLayout',
      elements: [
        { type: 'Label', text: 'Number of retries' },
        {
          type: 'Text',
          scope: scope('properties.sendEmail.properties.retries'),
          rule: {
            effect: 'DISABLE',
            condition: {
              scope: scope('properties.sendEmail.properties.retryOnFailure'),
              schema: { const: false },
            },
          },
        },
      ],

@szymon-t-sc szymon-t-sc added the bug Something isn't working label Aug 26, 2026
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

Successfully merging this pull request may close these issues.

1 participant