-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Autofill search field behaviour #221
Comments
what do you prefer? 😄 |
Personally I find it very misleading coming back to a page that is pre-filtered. It's not obvious that a search filter has been applied. Is there a way to disable this behaviour? Even if it's in code, can you point me to it? I'm running from a fork at the moment anyway. |
probably in the list view controller |
Thanks @timaaltra, I found it in $scope.searchTerm = state.searchTerm;
$scope.searchFilter = state.searchTerm; I still find this "feature" disconcerting, as the search box is subtle, and the list doesn't indicate that it is filtered in any way. I'm happy to close this "question", but not sure if you wanted to leave this as a prompt to revisit the implementation, or create a config entry to enable/disable this. |
I added this feature a few years ago for a customer. The use case they had was opening an object for editing, and then clicking back cleared their search. When they were several objects deep, this became unworkable for the user as they lost the context of where they were. This was a simple fix that kept them happy. It might be more of a UX issue that it's not obvious a filter is being applied. |
Did something change on the search field behaviour? I have one site running UIOMatic 3.1.9.660, and if I enter a search term, navigate away and back, the field is empty.
I have another site running UIOMatic 5.1.4, and if I search, navigate away, and navigate back, the search field is pre-populated and my view is filtered.
The text was updated successfully, but these errors were encountered: