CMB2 icon indicating copy to clipboard operation
CMB2 copied to clipboard

Field text_date not working with more than one in groups

Open allysonsouza opened this issue 7 years ago • 5 comments

Expected Behavior:

When using two or more text_date fields inside a group, all of them must be saved.

Actual Behavior:

When using two or more text_date fields inside a group, just the first one is being saved.

Possible Solution

Using text_date_timestamp solved the problem. (Like this issue https://github.com/CMB2/CMB2/issues/1181#issuecomment-433279806)

allysonsouza avatar Feb 19 '19 20:02 allysonsouza

Correcting: text_date_timestamp still not solving the problem.

allysonsouza avatar Feb 19 '19 20:02 allysonsouza

Can you provide the config callback you're using to set up your fields?

tw2113 avatar Feb 19 '19 21:02 tw2113

Did you ever get this resolved in some way @allysonsouza ?

tw2113 avatar Sep 25 '20 02:09 tw2113

It's been a long time since I was having this problem, but maybe I can test it again and see if it stills not working!

allysonsouza avatar Sep 25 '20 13:09 allysonsouza

No biggie if you don't get around to it soon-ish

tw2113 avatar Sep 25 '20 14:09 tw2113