I set default values on two date fields on a model containing child records using the override field metadata option to pull a date from the model containing the parent records, as pictured:
I have a table for the parent model, with a drawer component which contains a table for the child records. When I add a new child row (either inline or with a global action button on the child table) the default dates correctly show up from the context parent row, but strangely, the default dates are blank for every other row added:
Am I using this default value feature correctly? I know I could also use model conditions or default values in the create new row action, but I don’t think either of these quite get me what I need. In the case of a model condition, I would not want to filter child rows that are outside the parent records start/end dates. In the create-row-action default values, I am not sure how to set these to the parent context row’s values.
I am using Skuid version 9.5.6. Thanks for any help with this!