Using a checkbox prompt with name/value objects is using a simple === when testing re-selection. This is insufficent for values that are objects. On the other hand list defaults use isEqual which does a proper deep equality.
Checkbox should use the same isEqual. Actually all prompts that support name/value should use isEqual when selecting defaults.
https://github.com/SAP/inquirer-gui/blob/master/packages/inquirer-gui/src/Form.vue#L363
Using a checkbox prompt with name/value objects is using a simple
===when testing re-selection. This is insufficent for values that are objects. On the other hand list defaults useisEqualwhich does a proper deep equality.Checkbox should use the same
isEqual. Actually all prompts that support name/value should useisEqualwhen selecting defaults.https://github.com/SAP/inquirer-gui/blob/master/packages/inquirer-gui/src/Form.vue#L363