Skip to content

Commit

Permalink
Update combobox props
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfheij-sil committed Sep 11, 2024
1 parent e763406 commit 82d0de6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/paratext-bible-word-list/src/word-list.web-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,9 @@ globalThis.webViewComponent = function WordListWebView({
<div className="word-list">
<div className="filters">
<ComboBox
title="Scope"
value={scope}
// ComboBox doesn't have perfect types right now. https://github.com/paranext/paranext-core/issues/560
// eslint-disable-next-line no-type-assertion/no-type-assertion
onChange={(_event, value) => setScope(value as Scope)}
onChange={(value) => setScope(value)}
options={Object.values(Scope)}
isClearable={false}
width={150}
/>
<TextField
label="Word filter"
Expand Down

0 comments on commit 82d0de6

Please sign in to comment.