Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Modal error message for empty string integer filter #198
If you put an empty string as the input of a filter for an integer column you get this modal error message:
Having an empty string as a filter makes of cause no sense, but this happens sometimes by hitting enter accidentally. Postico should just ignore these, not show an error message and load the rows as if no filter was set.
The modal dialog is even worse if it occurs in the foreign key row selector. The row selector closes immediately after the modal dialog sheet appears and there is no way of clearing the wrong filter. See attached gif:
It is also confusing to me that Postico remembers the filters for tables and the foreign key row selector indefinitely. Postico should limit this to the current window. It's annoying to first remove any old filters, if you open a table that you worked in a week ago.
Thanks for reporting this issue; watching the GIF is slightly unnerving
If fixed this now; Postico now displays the error message inline instead of a modal dialog.
This change will be in the next update, or you can download a dev build right now: