Data-detail possible small bug after 2.7.2 update

Thanks for reporting an issue! Spend 60 seconds reading this…

  1. Before reporting, make sure you have the latest version of Wappler.
  2. Make sure you have searched the forum first for similar issues being reported
  3. If it is a general web related issue - do a Google Search first
  4. Issue tracker is only for bugs and feature requests, in English only.
  5. Learn how to report bugs effectively

======== TEMPLATE BUG FORM ========

Wappler Version :2.7.2
Operating System :Windows 10

Expected behavior

What do you think should happen?

Creating a detail view, adding the key value it should look something like this
<dmx-data-detail id="data_detail_epikairotita" dmx-bind:data="get_epikairotita_paged.data.query_epikairotita_paged.data" key="epikairotita_id"></dmx-data-detail>

Actual behavior

What actually happens?

When selecting the key value, it is placed between ’ ’ making it not work. Just remove those ’ ’ and it will work

<dmx-data-detail id="data_detail_epikairotita" dmx-bind:data="get_epikairotita_paged.data.query_epikairotita_paged.data" key="'epikairotita_id'"></dmx-data-detail>

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

Create a detail view, select a key value and check the code produced

TEMPORARY SOLUTION:
Just hand type the values you want to bind and remove ’ ’ if they are there