formtools / module-form_builder

The Form Builder module.
https://docs.formtools.org/modules/form_builder/
15 stars 21 forks source link

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

Open sudeepdoon opened 6 years ago

sudeepdoon commented 6 years ago

Scenario:

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

benkeen commented 6 years ago

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: https://github.com/formtools/core/issues/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.