You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes the skill errors reported in #570, plus related errors found while testing the fixes. The guidance targets IgniteUI.Blazor 26.2.x, the version on master. In 26.2 the full package depends on IgniteUI.Blazor.Lite, and the general components (textarea, chip, card, …) are Lite's types.
File
Change
components/references/form-controls.md
IgbTextarea does not derive from IgbInputBase, and its typing event is Input. InputOcurred exists on IgbInput only. Using the wrong name compiles without a warning, and the handler never runs. Also: the shared parameters (ReadOnly, MinLength/MaxLength are on both), and that the textarea's @bind-Value updates on blur.
components/references/data-display.md
Chip: the snippet adds @bind-Selected and the IgbVoidEventArgsRemove signature. New notes cover Outlined styling (the Variant-colored border, selection adding only a check icon, the --ig-chip-outlined-* / --ig-chip-selected-outlined-* tokens), and that tokens alone don't outline a chip. Card: width set from .razor.css with ::deep instead of an inline style. igc-card carries no scope attribute, so a plain class rule never matches, and Width="350px" only renders a dead attribute.
grids/references/features.md
Action strip: Edit and Delete show by default. Delete needs PrimaryKey, not RowEditable. Delete also removes the row from the bound List<T> but doesn't re-render the page (RowDeleted is an Action<T>). Edit uses row or cell editing, Add / Add Child need RowEditable, and AsMenuItems moves the buttons into a menu. Adds a delete-only snippet. Export: the menu defaults to Excel, CSV and PDF, so ExportPDF="false" is needed for Excel and CSV only. Export from code now goes through the element's export() via JS interop, because ExportGridAsync / ExportGrid fail ("target doesn't have prop: export", InvalidOperationException). The enum values are Excel / Csv / Pdf; the old snippet's CSV gave CS0117. Also notes what ExportStarted can't do from C#.
grids/references/editing.md
With RowEditable="true", columns are editable without Editable (except the primary key). Editable="false" keeps one read-only.
The theme CSS holds no component tokens. They ship in the IgniteUI.Blazor.Lite package's igniteui-webcomponents.*.bundle.js, also for IgniteUI.Blazor projects. The skill now shows how to find the Lite version and grep that bundle, and that prefixes don't always match the tag (--ig-contained-button-*, --ig-input-group-*, --ig-linear-bar-*). Also: .razor.css needs the styles.css link, and a class set on an Igb* component needs ::deep.
generate-from-image-design/references/gotchas.md
The same ::deep correction.
Motivation / Context
These errors came to light while agents generated apps from the skills alone. With the old text, generated code:
failed to compile (the exporter snippet);
compiled but silently did nothing (InputOcurred on the textarea, a plain .razor.css class rule on an Igb* component, ExportGridAsync);
or contradicted the skills' own rules (the inline style on the card).
The token-lookup advice pointed to files that contain none of the component tokens. The chip mismatch reported in #570 existed only in 26.1, where the full package had its own chip. In 26.2 it uses Lite's, so the snippet now gets clarifications instead of a package table.
Does not overlap #567 or #568: trial merges with master (which includes #568), with #567, and with both together are clean.
Type of Change (check all that apply):
Bug fix
New functionality
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Every item re-verified on 26.2.16-beta.0, side by side with 26.1.98 for the grid items. Real Blazor apps driven in headless Chrome over CDP, with all console output captured, covering:
textarea events;
chip Outlined, selection, Remove and token behaviour;
card widths for each CSS approach;
the action-strip matrix (defaults, PrimaryKey / RowEditable, Add on root rows, AsMenuItems, tree grid);
exporter menus, with real Excel / CSV / PDF downloads;
ExportGridAsync;
editing-column flags;
the token grep against the tokens the components read at runtime.
Snippets: each new snippet was compiled verbatim (0 warnings) and run on the beta.
Generation check: fresh agents with only the updated skills built a profile page (card, textarea counter, chips) and a products grid (delete-only row action, Excel/CSV-only export, an export button outside the toolbar). Every requirement worked.
Test Configuration:
.NET version: .NET 10 (SDK 10.0.401), net10.0
Packages: IgniteUI.Blazor.Trial 26.2.16-beta.0 (with its IgniteUI.Blazor.Lite 1.0.1 dependency); grid items also compared with 26.1.98
Hosting model: Blazor WebAssembly
Browser(s): Chrome (headless)
OS: Windows 11
Screenshots / Recordings
Before/after, captured on IgniteUI.Blazor.Trial 26.2.16-beta.0 (headless Chrome).
Textarea typing event (form-controls.md)
Chip on 26.2 (data-display.md)
Card width without an inline style (data-display.md)
Action strip without row editing (features.md)
Toolbar exporter (features.md)
Finding component token names without the MCP server (theming/SKILL.md)
Checklist:
All relevant tags have been applied to this PR
This PR includes unit tests covering all the new code
This PR includes API docs for newly added methods/properties
This PR includes general feature table updates in the root README.MD
This PR includes CHANGELOG.MD updates for newly added functionality
This PR contains breaking changes
This PR includes behavioral changes and the feature specification has been updated with them
Accessibility (ARIA, keyboard navigation, focus management) has been verified
…ken-lookup guidance
- form-controls.md: IgbTextarea doesn't derive from IgbInputBase and fires
Input (not InputOcurred); a wrong event name compiles silently; MaxLength
is on both inputs
- data-display.md: chip snippet that compiles in Lite and the full package
(parameterless Remove, @bind-Selected, ::part(base) outline) plus a
package-difference table; card width from .razor.css with ::deep instead
of an inline style
- features.md: action-strip defaults and what Delete/Edit/Add each need,
delete-only strip, Delete mutates the bound list without re-rendering;
exporter defaults to Excel/CSV/PDF, ExportPDF, JS-interop export
(ExportGridAsync fails in 26.1.x), GridToolbarExporterType values
- editing.md: RowEditable makes non-key columns editable without Editable
- grids SKILL.md: mention PDF export
- theming SKILL.md / common-patterns.md: component tokens are not in the
theme CSS; list them from the web-components bundle; .razor.css needs the
styles.css link; ::deep is needed for a class set on an Igb* component
- gotchas.md: same ::deep correction
The reason will be displayed to describe this comment to others. Learn more.
🟢 Approval recommended
No active review issues are recorded for the documentation-only updates to Blazor API and styling guidance.
No open issues 🎉
What changed in this PR
Updates the public agent skills to address the guidance errors reported in #570, helping generated Blazor apps use the correct APIs and styling patterns across Lite and full packages. This PR changes documentation only.
Changes:
Corrects textarea events, package-specific chip APIs, and scoped card styling.
Clarifies grid editing and action-strip requirements, export formats, and the JavaScript workaround for programmatic export.
Replaces incorrect token-lookup advice with bundle inspection and clarifies CSS-isolation requirements.
File
Description
skills/igniteui-blazor-theming/SKILL.md
Documents bundle-based token lookup and package-specific token differences.
- data-display.md: 26.2 uses IgniteUI.Blazor.Lite's chip in both packages;
drop the Lite/full table and the ::part workaround, keep the Outlined
snippet with @bind-Selected and IgbVoidEventArgs, document outlined and
selected styling and the outlined tokens; card Width only renders a dead
attribute
- features.md: exporter and editing-action defaults read true in C#;
ExportGridAsync still fails (InvalidOperationException); the exporter
args have no Cancel
- theming SKILL.md / common-patterns.md: component tokens ship in the
IgniteUI.Blazor.Lite bundle, also for IgniteUI.Blazor; look up the Lite
version first
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The export workaround selects the first grid on the page, so exporting from a second grid uses the wrong data and filename instead of preserving the intended target.
This replaces exporter-specific @ref access with a page-wide first match. On a page with two grids, invoking the second grid's export handler still exports the first grid's data and filename. Pass an exporter-specific selector or element reference from the C# handler and use it here, so the workaround preserves the intended export target.
Addressed the "target the invoking grid" note: the export workaround now passes the grid's host ElementReference (exportGrid(host, type) → host.querySelector('igc-grid-toolbar-exporter')), so on a page with several grids each export targets its own grid. Verified on 26.2.16-beta.0 with two grids (customers.csv and orders.xlsx from their own grids).
- Chip: tokens apply only without a Variant; with one, the variant rules win
(including --ig-chip-selected-outlined-background), so style ::part(base).
Theme differences: Fluent/Indigo fill a selected chip, Indigo's outlined
chip has a light fill; an outlined Variant chip keeps the default text color.
- Input/Textarea: @bind-Value updates on commit for both; use InputOcurred /
Input for live text.
- Export: Detail.Options and Detail.Grid are always null; hidden formats can
still be exported from code; the helper throws without an exporter.
- Card: width behaviour in block vs flex containers.
- gotchas: ::deep igc-chip needs a wrapper element rendered by the view.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #570
Description
Fixes the skill errors reported in #570, plus related errors found while testing the fixes. The guidance targets IgniteUI.Blazor 26.2.x, the version on
master. In 26.2 the full package depends on IgniteUI.Blazor.Lite, and the general components (textarea, chip, card, …) are Lite's types.components/references/form-controls.mdIgbTextareadoes not derive fromIgbInputBase, and its typing event isInput.InputOcurredexists onIgbInputonly. Using the wrong name compiles without a warning, and the handler never runs. Also: the shared parameters (ReadOnly,MinLength/MaxLengthare on both), and that the textarea's@bind-Valueupdates on blur.components/references/data-display.md@bind-Selectedand theIgbVoidEventArgsRemovesignature. New notes coverOutlinedstyling (theVariant-colored border, selection adding only a check icon, the--ig-chip-outlined-*/--ig-chip-selected-outlined-*tokens), and that tokens alone don't outline a chip. Card: width set from.razor.csswith::deepinstead of an inlinestyle.igc-cardcarries no scope attribute, so a plain class rule never matches, andWidth="350px"only renders a dead attribute.grids/references/features.mdPrimaryKey, notRowEditable. Delete also removes the row from the boundList<T>but doesn't re-render the page (RowDeletedis anAction<T>). Edit uses row or cell editing, Add / Add Child needRowEditable, andAsMenuItemsmoves the buttons into a menu. Adds a delete-only snippet. Export: the menu defaults to Excel, CSV and PDF, soExportPDF="false"is needed for Excel and CSV only. Export from code now goes through the element'sexport()via JS interop, becauseExportGridAsync/ExportGridfail ("target doesn't have prop: export",InvalidOperationException). The enum values areExcel/Csv/Pdf; the old snippet'sCSVgave CS0117. Also notes whatExportStartedcan't do from C#.grids/references/editing.mdRowEditable="true", columns are editable withoutEditable(except the primary key).Editable="false"keeps one read-only.grids/SKILL.mdtheming/SKILL.md,theming/references/common-patterns.mdIgniteUI.Blazor.Litepackage'signiteui-webcomponents.*.bundle.js, also forIgniteUI.Blazorprojects. The skill now shows how to find the Lite version and grep that bundle, and that prefixes don't always match the tag (--ig-contained-button-*,--ig-input-group-*,--ig-linear-bar-*). Also:.razor.cssneeds thestyles.csslink, and a class set on anIgb*component needs::deep.generate-from-image-design/references/gotchas.md::deepcorrection.Motivation / Context
These errors came to light while agents generated apps from the skills alone. With the old text, generated code:
InputOcurredon the textarea, a plain.razor.cssclass rule on anIgb*component,ExportGridAsync);The token-lookup advice pointed to files that contain none of the component tokens. The chip mismatch reported in #570 existed only in 26.1, where the full package had its own chip. In 26.2 it uses Lite's, so the snippet now gets clarifications instead of a package table.
Does not overlap #567 or #568: trial merges with
master(which includes #568), with #567, and with both together are clean.Type of Change (check all that apply):
Component(s) / Area(s) Affected:
Agent skills:
igniteui-blazor-components(Textarea, Chip, Card),igniteui-blazor-grids(Action Strip, Toolbar Exporter, editing),igniteui-blazor-theming,igniteui-blazor-generate-from-image-design.How Has This Been Tested?
Outlined, selection,Removeand token behaviour;PrimaryKey/RowEditable, Add on root rows,AsMenuItems, tree grid);ExportGridAsync;Test Configuration:
Screenshots / Recordings
Before/after, captured on IgniteUI.Blazor.Trial 26.2.16-beta.0 (headless Chrome).
Textarea typing event (

form-controls.md)Chip on 26.2 (

data-display.md)Card width without an inline style (

data-display.md)Action strip without row editing (

features.md)Toolbar exporter (

features.md)Finding component token names without the MCP server (

theming/SKILL.md)Checklist:
README.MDCHANGELOG.MDupdates for newly added functionalityFollow-ups, not in this PR:
IgbGridToolbarExporter.ExportGridAsync/ExportGridfail with "target doesn't have prop: export", the same wrapper bug as the paginator methods in IgbPaginator: the page can't be set from code — PaginateAsync/NextPageAsync fail and a bound Page is applied only once #569.<IgbGridToolbarExporter ExportExcel="true" ExportCSV="true" …/>still lists PDF. AddExportPDF="false"if PDF isn't intended.igRegisterScript(used by theToolbarExportingScriptexample) is deprecated in favour ofregisterScriptfromapi.js.app.bundle.jsis no longer required.grids/_shared/export-excel.mdlistsExportCsv/ExportPdf; the Blazor names areExportCSV/ExportPDF.packages/cli/templates/blazor/igb/projects/ai-config/files/skills/and need the same update.