You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Assume you've created page with ng-select component that has some set of items but currently does not have any value. When you render page using angular universal, <div class="ng-input"><input role="combobox" type="text" autocomplete="a0eb5d2d24b2" value="null" aria-expanded="false"></div> is being added to HTML which causes NULL text to be visible inside the input. After client app loads NULL disappears. It appears no matter if I'm using template or reactive forms.
To Reproduce
Configure angular universal
Add simple ng-select component to page
Build & run ssr
See error (before client app loads)
Expected behavior
ng-select should not render value="null" as it disappears later
Desktop (please complete the following information):
Describe the bug
Assume you've created page with ng-select component that has some set of items but currently does not have any value. When you render page using angular universal,
<div class="ng-input"><input role="combobox" type="text" autocomplete="a0eb5d2d24b2" value="null" aria-expanded="false"></div>
is being added to HTML which causesNULL
text to be visible inside the input. After client app loadsNULL
disappears. It appears no matter if I'm using template or reactive forms.To Reproduce
Expected behavior
ng-select should not render
value="null"
as it disappears laterDesktop (please complete the following information):
I've created simple repo with universal and ng-select configured.
https://github.com/kamilchlebek/universal-ng-select
To see this error run:
The text was updated successfully, but these errors were encountered: