You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2025. It is now read-only.
fix(editor): provide complex object override path for select editor
- when editing a cell with a complex object dot notation, say "user.firstName" and our collection is option/label pair for the user not for their first name, we can use the new property of complexObjectPath: 'user' to tell the editable object to use the "user" and not "user.firstName" when selecting from dropdown
it('should apply the value to the bio property (second last) when field has a dot notation (complex object) value provided is an object and it that passes validation',()=>{
* When providing a dot (.) notation in the "field" property of a column definition, we might want to use a different path for the editable object itself
38
+
* For example if we provide a coldef = { field: 'user.name' } but we use a SingleSelect Editor with object values, we could override the path to simply 'user'
39
+
* NOTE: Currently only used in the Single/MultipleSelect Editors, we could potentially use it for more Editors in the future if need be.
40
+
*/
41
+
complexObjectPath?: string;
42
+
36
43
/** A custom structure can be used instead of the default label/value pair. Commonly used with Select/Multi-Select Editor */
0 commit comments