diff --git a/libs/angular-components/src/lib/components/input/input.ts b/libs/angular-components/src/lib/components/input/input.ts index c7b67b229..a92e2f27a 100644 --- a/libs/angular-components/src/lib/components/input/input.ts +++ b/libs/angular-components/src/lib/components/input/input.ts @@ -141,8 +141,8 @@ export class GoabInput extends GoabControlValueAccessor implements OnInit { @Output() onKeyPress = new EventEmitter(); @Output() onChange = new EventEmitter(); - isReady = false; version = "2"; + isReady = false; handleTrailingIconClick = false; constructor( diff --git a/libs/common/src/index.ts b/libs/common/src/index.ts index a058deb0b..df445b9b4 100644 --- a/libs/common/src/index.ts +++ b/libs/common/src/index.ts @@ -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"; diff --git a/libs/react-components/src/lib/input/input.tsx b/libs/react-components/src/lib/input/input.tsx index 5c358edca..1a821cfc7 100644 --- a/libs/react-components/src/lib/input/input.tsx +++ b/libs/react-components/src/lib/input/input.tsx @@ -49,8 +49,8 @@ interface WCProps extends Margins { step?: number; maxlength?: number; - trailingiconarialabel?: string; version?: string; + trailingiconarialabel?: string; } declare module "react" { diff --git a/libs/web-components/src/components/input/Input.svelte b/libs/web-components/src/components/input/Input.svelte index eeacf2f02..75499a10e 100644 --- a/libs/web-components/src/components/input/Input.svelte +++ b/libs/web-components/src/components/input/Input.svelte @@ -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", {