New optional integer prop rowLimit was added to the main exported component in order to apply a maximum limit from the implementation side. It is applied in the final query (if exists and preview mode is off) to avoid excessive calculations on the specific api.
Default value is 0 which means unlimited records are allowed.
Important:
previewLimit needs to be lower or equal than rowLimit to avoid conflicts.
This is a frontend only tool, a server side validation of the limit is recommended in the API implementation as well.
In translations file, I changed previewMode key to preview_mode for consistency.
I'm using dangerouslySetInnerHTML to be able to add a text with a link on it, I'm open to discuss it.
New optional integer prop
rowLimit
was added to the main exported component in order to apply a maximum limit from the implementation side. It is applied in the final query (if exists and preview mode is off) to avoid excessive calculations on the specific api.Default value is
0
which means unlimited records are allowed.Important:
previewLimit
needs to be lower or equal thanrowLimit
to avoid conflicts.previewMode
key topreview_mode
for consistency.dangerouslySetInnerHTML
to be able to add a text with a link on it, I'm open to discuss it.