Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix casing issue in new item value#2

Merged
muan merged 2 commits into
mastergithub/filter-input-element:masterfrom
casinggithub/filter-input-element:casingCopy head branch name to clipboard
Dec 10, 2019
Merged

Fix casing issue in new item value#2
muan merged 2 commits into
mastergithub/filter-input-element:masterfrom
casinggithub/filter-input-element:casingCopy head branch name to clipboard

Conversation

@muan

@muan muan commented Dec 10, 2019

Copy link
Copy Markdown
Contributor

This ensures that the user/app facing query we use and distribute has its original casing. This fixes items always being created in lower case.

This all ensures that if an app wants to implement case-sensitive casing they can. Currently they would get .toLowerCase() item text and query in the filter function, which isn't ideal.

cc @srt32

@muan muan requested a review from a team December 10, 2019 20:09
@muan muan merged commit 9e07ccc into master Dec 10, 2019
@muan muan deleted the casing branch December 10, 2019 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.