Skip to content

Add enter when a filter is applied to a view #29

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

Open
sudeepdoon opened this issue May 31, 2018 · 1 comment
Open

Add enter when a filter is applied to a view #29

sudeepdoon opened this issue May 31, 2018 · 1 comment

Comments

@sudeepdoon
Copy link

Scenario:

  • A form is created with one or more fields
  • A new view is created in the above form with filter on one of the fields
  • Assign rights to a client to the above view
  • Login as the client to whom the view was assigned
  • Add a new record..

Result: The edit screen does not come. When we login as Admin a blank row is seen added.

@benkeen
Copy link
Member

benkeen commented Jun 9, 2018

Hi @sudeepdoon, ah this one! Yeah this is actually known: it's not exactly a bug, just an idiosyncrasy of using filters with Views. I've logged the issue on the main Form Tools core repo here:
formtools/core#36

Basically the problem is that as soon as the submission is first created, the default values in the form submission may prevent it from appearing in the View in which is was just created. For standard filters, you can get around it by using the Default Values option on the View so that it'll match whatever criteria you've specified in the filter, but you can't do that for Client Map filters.

I will solve this at some point but it's very complex and kind of low priority, so don't expect a fix soon. Sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants