Relationship error in EditResource
Hi everyone!
I'm facing an issue with relations in my EditResource.
The relation elements are not all loading properly.
For example, DatePicker fields are not filled with relation data, but the title field works fine.
Tables structure:
Model relation:
Edit form code:
Issue: Only the title field loads correctly, but start and end DatePicker fields remain empty even though the data exists in the database.
I'm facing an issue with relations in my EditResource.
The relation elements are not all loading properly.
For example, DatePicker fields are not filled with relation data, but the title field works fine.
Tables structure:
table_1:
id
published (bool)
completed (bool)
table_2:
id
table_1_id
start (date)
end (date)
title (string)
content (text)Model relation:
hasOne from table_1 to table_2Edit form code:
Issue: Only the title field loads correctly, but start and end DatePicker fields remain empty even though the data exists in the database.