Skip to content

update: set attribute to @fields #242

Matthieu Fesselier requested to merge update/use-@id-in-attr-name into dev

Closes #242 (closed)
Test case:

    <sib-widget name="id-widget">
      <template>
        <h3>${value}</h3>
      </template>
    </sib-widget>

    <sib-widget name="permissions-widget">
      <template>
        <small>${JSON.stringify(value.mode)}</small>
      </template>
    </sib-widget>

    <sib-display
      data-src="https://api.test-paris.happy-dev.fr/users/"
      fields="@id, @permissions, email"
      multiple-permissions
      widget-permissions="permissions-widget"
      widget-id="id-widget"
      class-id="classTest">
    </sib-display>
Edited by Matthieu Fesselier

Merge request reports