diff --git a/CHANGELOG.md b/CHANGELOG.md index 93a1f4f6..03dd5985 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ This package follows standard semvar, `..`. No breaking cha * Prevent making requests when required path parameters are not specified. * Automatically retry fetching the spec if it doesn't work for any reason. * Fix array description display preference to be first--The Array description, and then only second--The array item schema description, so that the "more specific" description wins, even though the "items" description is more deeply nested. This aligns to the expected behavior of preference in the json schema. +* Fix selecte drop down menu update trigger. ## 2.1 * Add `x-locale` vendor extension to specify the locale of the spec. @@ -111,7 +112,7 @@ This package follows standard semvar, `..`. No breaking cha * [Bug] - Fix `explorer-location` tracking for updates triggered outside of component ## 0.7 ## -* Introduce `setAuthenticationConfiguration` to set any all configuration related to token management, including clientIds and explicit tokens. +* Introduce `setAuthenticationConfiguration` to set any/all configuration related to token management, including clientIds and explicit tokens. * Display component titles in bold next to description * Enable component scrolling. diff --git a/src/components/api-request.js b/src/components/api-request.js index e37fe9bb..b8919d89 100644 --- a/src/components/api-request.js +++ b/src/components/api-request.js @@ -200,7 +200,7 @@ export default class ApiRequest extends LitElement { data-ptype="${paramLocation}" data-pname="${param.name}" .value="${this.fillRequestWithDefault === 'true' ? defaultVal : ''}" - @change="${(e) => { this.storedParamValues[param.name] = e.detail.value; this.computeCurlSyntax(); }}"> + @change="${(e) => { this.storedParamValues[param.name] = e; this.computeCurlSyntax(); }}"> ${paramSchema.allowedValues.map((allowedValue) => html`