Skip to content

Commit

Permalink
fix: better search in tags widgets (#306)
Browse files Browse the repository at this point in the history
Match when the search term is not at the start of the tag as well.

Fix #184.
  • Loading branch information
bfabio authored Jan 31, 2024
1 parent f6099ba commit edb7181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/form/widgets/TagWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const TagWidget = (props) => {
onBlur={() => inputProps.onBlur()}
value={inputProps.value || []}
data={props.schema.items.enum}
filter="contains"
/>

{invalid && (
Expand Down

0 comments on commit edb7181

Please sign in to comment.