Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

antd tokenSeparators in customProps doesn't work #1115

Open
Delaramv opened this issue Sep 10, 2024 · 0 comments
Open

antd tokenSeparators in customProps doesn't work #1115

Delaramv opened this issue Sep 10, 2024 · 0 comments
Labels

Comments

@Delaramv
Copy link

Delaramv commented Sep 10, 2024

Describe the bug
In antd one, when we have select with the following option, then want to past a data like 1,2,3 it doesn't add the whole 3 tags there. It just add the last one.
label: selectop,
type: 'select',
fieldSettings: {
showSearch: true,
allowCustomValues: true,
customProps: {
mode:"tags",
tokenSeparators: [","]
},
},
defaultOperator: 'select_any_in',
operators: ['select_any_in', 'select_not_any_in'],

I

To Reproduce
To reproduce the bug enable the allowCustomValues so it's going to set the mode to "tags" then in the custom props set tokenSeparators: [","]

then copy 1,2,3 and past it in the dropdown.

Expected behavior
when we past the 1,2,3 it should add three tag separately with the value of 1 2 3 and in the SQL for where it should be like xxx in ('1','2',3')

Screenshots

Additional context
Check out Automatic tokenization of antd select feature

@ukrbublik ukrbublik added the bug label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants