Cannot read properties of undefined (reading 'id') at w2form.toggleDockerFields

Wappler Version :6.8.0
Operating System : Mac OS - using Docker in both Dev and Remote
Server Model: NodeJS
Database Type: PostgreSQL
Hosting Type: Docker

Expected behavior

When setting a remote target and custom database it should let select and attached 'custom' SSL.

Actual behavior

When I create a remote target and selecting a custom database (Amazon lightsail Managed PostgreSQL) and try to attach a custom profile SSL certificate - it give me below error.

TypeError: Cannot read properties of undefined (reading 'id') at w2form.toggleDockerFields (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2targets.js:7:1547) at w2form. (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2targets.js:7:79150) at w2form.trigger (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2ui/w2ui.min.js:7:36380) at HTMLInputElement. (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2ui/w2ui.min.js:7:413432) at HTMLInputElement.dispatch (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:5430:27) at elemData.handle (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:5234:28) at Object.trigger (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:8719:12) at HTMLInputElement. (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:8797:17) at Function.each (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:385:19) at jQuery.fn.init.each (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:207:17) at jQuery.fn.init.trigger (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:8796:15) at jQuery.fn. [as change] (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:10746:10) at Object.onSelect (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2ui/w2ui.min.js:7:372180) at w.fn.w2menuClick (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2ui/w2ui.min.js:7:48400) at HTMLTableRowElement.onclick (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/index.htm?theme=dark:1:84)

How to reproduce

Create a custom remote database and try to attach a custom SSL.

Please NOTE: If I use Digital Ocean RDS as a profile and attach the AWS certificate, the database connection works fine, but I am not sure if this will cause any issues down the track.

I was previosuly using Digital Ocean Manged DB, but for this new project, I noticed DO has stopped offering (?) databse hosted here in Australia. So had to look at AWS and Wappler does not offer AWS SSL certificate profile by default as it does for DO.

A fix to this will be highly appreciated.