Release 0.3.2 (#4324)

* Release 0.3.2

* Fix Select search
This commit is contained in:
Charles Bochet
2024-03-05 18:57:31 +01:00
committed by GitHub
parent 614f3ed69e
commit 706b5d3cf1
6 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "twenty-docs",
"version": "0.3.1",
"version": "0.3.2",
"private": true,
"scripts": {
"nx": "NX_DEFAULT_PROJECT=twenty-docs node ../../node_modules/nx/bin/nx.js",

View File

@ -1,6 +1,6 @@
{
"name": "twenty-emails",
"version": "0.3.1",
"version": "0.3.2",
"description": "",
"author": "",
"private": true,

View File

@ -1,6 +1,6 @@
{
"name": "twenty-front",
"version": "0.3.1",
"version": "0.3.2",
"private": true,
"type": "module",
"scripts": {

View File

@ -87,7 +87,9 @@ export const ObjectFilterDropdownOptionSelect = () => {
};
const optionsInDropdown = selectableOptions?.filter((option) =>
option.label.toLowerCase().includes(objectFilterDropdownSearchInput),
option.label
.toLowerCase()
.includes(objectFilterDropdownSearchInput.toLowerCase()),
);
const showNoResult = optionsInDropdown?.length === 0;

View File

@ -34,7 +34,10 @@ export const SelectFieldInput = ({
);
const optionsToSelect =
fieldDefinition.metadata.options.filter((option) => {
return option.value !== fieldValue && option.label.includes(searchFilter);
return (
option.value !== fieldValue &&
option.label.toLowerCase().includes(searchFilter.toLowerCase())
);
}) || [];
const optionsInDropDown = selectedOption
? [selectedOption, ...optionsToSelect]

View File

@ -1,6 +1,6 @@
{
"name": "twenty-server",
"version": "0.3.1",
"version": "0.3.2",
"description": "",
"author": "",
"private": true,