Skip to content

Commit

Permalink
wc: replace select #TASK-5070
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodielm committed Nov 9, 2023
1 parent c62b811 commit e43ccfe
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/webcomponents/clinical/filters/clinical-status-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,18 @@ export default class ClinicalStatusFilter extends LitElement {

render() {
return html`
<select-field-filter
<select-field-filter2
.data="${this.uniqueStatuses}"
.value=${this.status}
.placeholder="${this.placeholder}"
.multiple="${this.multiple}"
.forceSelection="${this.forceSelection}"
.value="${this.status}"
.config="${{
placeholder: this.placeholder,
multiple: this.multiple,
liveSearch: false,
disabled: this.disabled,
}}"
.classes="${this.classes}"
.disabled="${this.disabled}"
@filterChange="${e => this.filterChange(e)}">
</select-field-filter>
</select-field-filter2>
<!-- Only show description when one single values is expected -->
${!this.multiple && this.statusObject?.description ? html`
Expand Down

0 comments on commit e43ccfe

Please sign in to comment.