Data Filter Command: Account for Space Values
The current Data Filter Command palette does not handle data that contains spaces. Therefore, when you try search for values that contain spaces from within the palette it fails.
Would there be scope for this to be able to handle data containing spaces, possibly by the use of quotation marks?
NB: If the filter field is set to commandDisabled then the spaces are handled correctly, just unfortunately cannot use the command palette for the filtering.
Valid issue and definitely not an edge case! That is something I have been thinking about, yet haven't been able to tackle on.
Yes, my first intuition was also to use quotes like prop:"account with space" to bound the values.
Can't tell you when but it's on the todos. Thanks for pointing it out!
Edit: It will require the input filter to be touched as well as both fields are synced. We will most likely have to parse the message (").
https://github.com/openstatusHQ/data-table-filters/blob/main/src/components/data-table/data-table-filter-command/utils.ts#L225