I encountered a usecase where filtering was done serverside, and a user input contained a dot ., but the server response seemed incoherent. I saw that the dot was deleted by prepareUserEnteredText.
If filtering is done serverside (i.e. there is a searchFunction) then the input cleaning (i.e. prepareUserEnteredText) should also be done serverside.
With this patch, prepareUserEnteredText is not called if searchFunction is defined.
I encountered a usecase where filtering was done serverside, and a user input contained a dot
.
, but the server response seemed incoherent. I saw that the dot was deleted byprepareUserEnteredText
.If filtering is done serverside (i.e. there is a
searchFunction
) then the input cleaning (i.e.prepareUserEnteredText
) should also be done serverside.With this patch,
prepareUserEnteredText
is not called ifsearchFunction
is defined.If you want, I can make this behavior optional.