Skip to content

Commit

Permalink
feat(phone-number): add prefix input & selected label
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteves60 authored and dpellier committed Sep 25, 2023
1 parent 9da57dd commit 3cecc62
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 313 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export class OsdsInput implements OdsInputAttribute, OdsInputEvent, OdsInputMeth
}

private hasPlaceholder(): boolean {
return !!this.placeholder && !this.inputEl?.value;
return !!this.placeholder && !this.value;
}

render() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
--ods-size-select-border-radius-bottom-right: 0;
--ods-size-select-border-radius-top-right: 0;
--ods-size-select-border-right-width: 0;
&-label{
width: 24px;
height: 18px;
}

&__option {
display: flex;
Expand Down
Loading

0 comments on commit 3cecc62

Please sign in to comment.