Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion libs/angular-components/src/lib/components/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ export class GoabInput extends GoabControlValueAccessor implements OnInit {
@Output() onKeyPress = new EventEmitter<GoabInputOnKeyPressDetail>();
@Output() onChange = new EventEmitter<GoabInputOnChangeDetail>();

isReady = false;
version = "2";
isReady = false;
handleTrailingIconClick = false;

constructor(
Expand Down
2 changes: 1 addition & 1 deletion libs/common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export * from "./lib/validators";
export * from "./lib/public-form-controller";
export * from "./lib/temporary-notification-controller/temporary-notification-controller";
export * from "./lib/messaging/messaging";
export { CalendarDate } from "./lib/calendar-date";
export { Once } from "./lib/once";
export { CalendarDate } from "./lib/calendar-date";
2 changes: 1 addition & 1 deletion libs/react-components/src/lib/input/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ interface WCProps extends Margins {
step?: number;
maxlength?: number;

trailingiconarialabel?: string;
version?: string;
trailingiconarialabel?: string;
}

declare module "react" {
Expand Down
3 changes: 1 addition & 2 deletions libs/web-components/src/components/input/Input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@
function onKeyUp(e: Event) {
const input = e.target as HTMLInputElement;

if (!input) return;
if (isReadonly) return;
if (!input || isReadonly) return;

input.dispatchEvent(
new CustomEvent("_keyPress", {
Expand Down
Loading