In the Contact component, I have edited the file "contact.xml"
I changed the textfield named con_position
from type="text"
to type="calendar"
.
Here is the code:
<field
name="con_position"
type="calendar"
label="COM_CONTACT_FIELD_INFORMATION_POSITION_LABEL"
description="COM_CONTACT_FIELD_INFORMATION_POSITION_DESC"
showtime="false"
format="%a %d %B %Y"
size="22"
filter="user_utc"
/>
The data is gone after being saved. It's empty.
Can anyone let me know what I've done wrong?
$query->dump();
to specifically check the UPDATE query?