b2bfinance / tablo

Display a list of products.

Home Page:https://b2bfinance.github.io/tablo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add filters to tables.

bweston92 opened this issue · comments

Add filters to tables.

@KyleNeedham you have any idea how you're going to want to send to the API?

Is there a way to provide the following:

  • Allow a filter to be declared with a range?
  • Allow a filter to be declared with a single integer value?
  • Allow a filter to be declared with a boolean value?

For a range you could have the following:

fieldName={lowValue},{highValue}
fieldName={lowValue}

Intended for use as LTV but will work with just {lowValue} as I know you're not implementing ranges for LTV but maybe for rates?

For boolean values would you send the following:

fieldName=false
fieldName=true

Intended to use this for the fees filters on products.

I have no use for single integer value but maybe future proofing.