Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/aria/spinbutton/spinbutton.ts
Co-authored-by: Matthieu Riegler <kyro38@gmail.com>
  • Loading branch information
OmerGronich and JeanMeche authored Jan 28, 2026
commit 62059f1b20694e401d4d4a63da822b065c96aed7
4 changes: 2 additions & 2 deletions src/aria/spinbutton/spinbutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ export class SpinButton {
});

constructor() {
afterRenderEffect(() => {
if (typeof ngDevMode === 'undefined' || ngDevMode) {
afterRenderEffect(() => {
const violations = this._pattern.validate();
for (const violation of violations) {
console.error(violation);
}
}
});
}

afterRenderEffect(() => {
if (!this._hasFocused()) {
Expand Down