question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] support template bool for rtl and other boolean properties.

See original GitHub issue

Problem Statement

$ is not a valid usage in JSON, so it has problem to convert the template data to bool directly.

"rtl": ${bool($rtl)}

Proposed solution

Data binding works as expected as requested in this feature request. To see the correct usage, see 4350. Designer needs to be updated so that a serialization doesn’t happen before template expansion because templates are stripped off if the expected type are not string.

Alternatives or Workarounds

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
jwoo-msftcommented, Aug 11, 2022

I think this might be just Designer issue. let me try that. There will be a lot more issues filed if this doesn’t work.

1reaction
jwoo-msftcommented, Aug 11, 2022

I’ve updated the feature request with a proposed solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

data binding to boolean fails · Issue #4350
I have the following simple payload { "title": "boolean binding", ... [Feature Request] support template bool for rtl and other boolean ...
Read more >
template with bool parameter - c++
I need to implement template with bool parameter. If bool=true, we need to use list container else we need to use vector container....
Read more >
Logical functions for ARM templates - Azure
Describes the functions to use in an Azure Resource Manager template (ARM template) to determine logical values.
Read more >
SystemRDL 2.0 Register Description Language January ...
SystemRDL descriptions are used as inputs to software tools that generate circuit logic, test programs, printed documentation, and other register artifacts.
Read more >
RAD STUDIO 11.3 PRODUCT FEATURE MATRIX
VISUAL LIVEBINDINGS. INTEGRATED BUILD TOOLS AND PROJECT SUPPORT. RECENT C++ LANGUAGE AND CORE RTL FEATURES. RECENT DELPHI LANGUAGE AND CORE RTL FEATURES.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found