@optionfactory/ful 5.0.5 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ful.mjs CHANGED
@@ -3044,7 +3044,7 @@ class Table extends ParsedElement {
3044
3044
  #latestRequest;
3045
3045
  async render({ slots, observed }) {
3046
3046
  const template = this.template();
3047
- const schema = TableSchemaParser.parse(slots.default, template);
3047
+ const schema = TableSchemaParser.parse(slots.schema, template);
3048
3048
  const fragment = template.withOverlay({ slots, schema }).render();
3049
3049
  const tableWrapper = /** @type HTMLTableElement */ (Nodes.queryChildren(fragment, '.table-wrapper'));
3050
3050
  const table = /** @type HTMLTableElement */ (tableWrapper.querySelector("table"));