Skip to content

Commit

Permalink
Fix typos again
Browse files Browse the repository at this point in the history
Found via `typos --hidden --format brief`
  • Loading branch information
kianmeng committed Dec 8, 2024
1 parent 2281cf6 commit ae304cc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ assignees: ''

**LiveSelect and LiveView versions**
have you tried LiveSelect's and LiveView's latest versions? Please try them and see if the bug still occur
which LiveSelect version are you on? (`mix deps | grep live_selct`)
which LiveSelect version are you on? (`mix deps | grep live_select`)
which LiveView version are you on? (`mix deps | grep phoenix_live_view`)

**Describe the bug**
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ do not restore selection after blur it it was cleard by hitting the clear button

## 1.4.0 (2024-03-18)

* support for assocations and embeds
* support for associations and embeds
* add `value_mapper` assign and `decode/1` function

## 1.3.3 (2024-02-06)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface for search-like functionalities with type-ahead. `LiveSelect`s feature

* Single as well as multiple selection
* Options to configure the behaviour, such as minimum number of characters that trigger an update or the maximum number of selectable options
* Default styles for daisyUI and tailwindcss, which are fully customizable and can be completely overriden if needed
* Default styles for daisyUI and tailwindcss, which are fully customizable and can be completely overridden if needed
* Ability to customize the rendered HTML for dropdown entries and tags using slots.

### [Try it in the showcase app](https://live-select.fly.dev/) 🔬
Expand Down
4 changes: 2 additions & 2 deletions test/live_select_tags_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ defmodule LiveSelectTagsTest do

select_nth_option(live, 2)

refute_option_removeable(live, sticky_pos)
refute_option_removable(live, sticky_pos)

assert_option_removeable(live, 3 - sticky_pos)
assert_option_removable(live, 3 - sticky_pos)
end

test "can specify alternative labels for tags using maps", %{live: live} do
Expand Down
4 changes: 2 additions & 2 deletions test/support/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -405,13 +405,13 @@ defmodule LiveSelect.TestHelpers do
|> Floki.attribute("value") == []
end

def assert_option_removeable(live, n) do
def assert_option_removable(live, n) do
selector = "#{@selectors[:tags_container]} button[data-idx=#{n - 1}]"

assert has_element?(live, selector)
end

def refute_option_removeable(live, n) do
def refute_option_removable(live, n) do
selector = "#{@selectors[:tags_container]} button[data-idx=#{n - 1}]"

refute has_element?(live, selector)
Expand Down

0 comments on commit ae304cc

Please sign in to comment.