Change style of parameter type declaration to make sure it transformAttributes handles it correctly. Objects were still parsed as string, resulting in "[Object object]"

This commit is contained in:
nathan 2022-05-13 14:22:44 -06:00
parent 56def486f0
commit 17d2e2cb5c

View File

@ -75,7 +75,7 @@ export const Et2widgetWithSelectMixin = dedupeMixin((superclass) =>
* Will be found automatically based on ID and type, or can be set explicitly in the template using
* <option/> children, or using widget.select_options = SelectOption[]
*/
select_options: Object,
select_options: {type: Object},
}
}