Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.73k stars 1.57k forks source link

Can't use a value from a table in it's own conditions #15009

Open andyburgessmd opened 3 days ago

andyburgessmd commented 3 days ago

Checklist

Hosting

Describe the bug When trying to add a condition to a table you cannot use the values of that table in the statement bindings. An example usage of this is to set the 'on row click' to a different action based on the count of rows in the table - i.e set a limit.

To Reproduce Steps to reproduce the behavior:

  1. Create a database table with some data
  2. Create a table component and set the data source to the database table
  3. Go to the conditions tab and add a new condition
  4. In either value selector go into the bindings selector. View the bindings and you will see that the table you are in is not shown.

Expected behavior I would expect to see the current table named in the bindings options so that properties of it can be used, for example row count.

linear[bot] commented 3 days ago

BUDI-8838 Can't use a value from a table in it's own conditions