Its this …
<Input
@type="number"
class="ai-persona-editor__top_p"
@value={{this.editingModel.top_p}}
disabled={{this.editingModel.system}}
/>
The type=number thing is causing issues on European keyboards/locales.
When we ask the component what the value is we get a 0,4
which is correct but you don’t want code all through your code base that says:
if Europe Locale then replace(",",".")
etc…
@CvX / @david what is the “correct” solution here, do we need our own Input
here vs using Input
from @ember/component
?