M

Results 3 comments of M

This does not work for Cognito also. The issue in case of Amazon Cognito is that there are double headers and Amazon responds 405. (Without accept header it works) ```...

https://hexdocs.pm/phoenix_live_view/js-interop.html ``` document.getElementById("my-select").dispatchEvent( new Event("input", {bubbles: true}) ) ``` combined with ``` var select = document.getElementById('my-select'); for (var i in select.options) { select.options[i].selected = false; } ``` Seems to work...

https://github.com/OpenAPITools/openapi-generator/blob/3b3f9a770a50240a53a7c0f59c98f4b7f9bad4be/modules/openapi-generator/src/main/resources/elixir/model.mustache#L7 Related template