Replacing blank values with '--' in output table

Hello Guys,

I have a table which enters date & text field. When there is no value entered, the date is saved as 1900-01-01 while the text field saves as blank in the DB.

image

In the output table, i want to display '--' instead of 1900-01-01 & blank space.

How to achieve this result?

What are you sending to your database as value?
What is the exact value your db returns, you can see it in the network > XHR tab in the browser dev tools.

I am sending blank values.
This is what the network > XHR tab returns:

image

This is the DB entry:

Also, I don't mind sending dummy values if that is required to achieve the desired result.

Are you sure this is the value your db returns - 1900-01-01 and not 0000-00-00?
Can you just check what the server action actually returns in the Network > XHR as explained here:

This is what the Update server action returns from the XHR page:

not the update server action ... i need the info from the one returning the actual dates on your page.

This is the response from the query which returns the dates & other info on the page.

You can then use the replace formatter and replace 1900-01-01 with whatever string you like :slight_smile:

Yes, got it.
Thanks for your help, yet again !!