@vectoriox/iox-builder 2.3.1 → 2.3.2
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.
|
@@ -5774,8 +5774,11 @@ class BuilderRepeaterComponent {
|
|
|
5774
5774
|
* (or change) so both orderings — and loaded pages with sync sources — render their rows. */
|
|
5775
5775
|
set children(value) {
|
|
5776
5776
|
this._children = value ?? [];
|
|
5777
|
+
// Defer to the next tick: RenderDirective sets `children` before the template child's
|
|
5778
|
+
// component is instantiated/registered, so applyFirstItemToTemplate needs the ref to exist
|
|
5779
|
+
// first (otherwise the FIRST row shows its default instead of item[0]'s value).
|
|
5777
5780
|
if (this.items.length)
|
|
5778
|
-
this.refreshPreviews();
|
|
5781
|
+
setTimeout(() => this.refreshPreviews());
|
|
5779
5782
|
}
|
|
5780
5783
|
get source() { return this._source; }
|
|
5781
5784
|
set source(value) {
|