@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "twenty-docs",
|
"name": "twenty-docs",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"nx": "NX_DEFAULT_PROJECT=twenty-docs node ../../node_modules/nx/bin/nx.js",
|
"nx": "NX_DEFAULT_PROJECT=twenty-docs node ../../node_modules/nx/bin/nx.js",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "twenty-emails",
|
"name": "twenty-emails",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "",
|
"author": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "twenty-front",
|
"name": "twenty-front",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -87,7 +87,9 @@ export const ObjectFilterDropdownOptionSelect = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const optionsInDropdown = selectableOptions?.filter((option) =>
|
const optionsInDropdown = selectableOptions?.filter((option) =>
|
||||||
option.label.toLowerCase().includes(objectFilterDropdownSearchInput),
|
option.label
|
||||||
|
.toLowerCase()
|
||||||
|
.includes(objectFilterDropdownSearchInput.toLowerCase()),
|
||||||
);
|
);
|
||||||
|
|
||||||
const showNoResult = optionsInDropdown?.length === 0;
|
const showNoResult = optionsInDropdown?.length === 0;
|
||||||
|
|||||||
@ -34,7 +34,10 @@ export const SelectFieldInput = ({
|
|||||||
);
|
);
|
||||||
const optionsToSelect =
|
const optionsToSelect =
|
||||||
fieldDefinition.metadata.options.filter((option) => {
|
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
|
const optionsInDropDown = selectedOption
|
||||||
? [selectedOption, ...optionsToSelect]
|
? [selectedOption, ...optionsToSelect]
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "twenty-server",
|
"name": "twenty-server",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "",
|
"author": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user