All non-NetBox provider forms (Sonar, Splynx, Gaiia, Preseem, PagerDuty, VISP) had the same bug as NetBox: credential inputs used value= bindings reading from saved DB state. Any phx-click event (Test Connection, etc) triggering a re-render would wipe unsaved typed values. Fix by adding @integration_credentials assign, initialized from saved integration when opening config and updated from form params on every phx-change via validate_integration. |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| graphql | ||
| helpers | ||
| live | ||
| plugs | ||
| changelog_parser.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| gettext_helpers.ex | ||
| graphql_socket.ex | ||
| permissions.ex | ||
| plug_exceptions.ex | ||
| remote_ip.ex | ||
| router.ex | ||
| scoped_resource.ex | ||
| telemetry.ex | ||
| telemetry_filter.ex | ||
| user_auth.ex | ||