Open keeratita opened 6 days ago
Should it have to use value
attribute instead of nxValue
in the <nx-dropdown-item>
?
Source: src/app/starter-app.html
It seems the demo is working fine when changing these lines from
<nx-dropdown-item nxValue="1">1</nx-dropdown-item>
<nx-dropdown-item nxValue="2">2</nx-dropdown-item>
<nx-dropdown-item nxValue="3">3</nx-dropdown-item>
to
<nx-dropdown-item value="1">1</nx-dropdown-item>
<nx-dropdown-item value="2">2</nx-dropdown-item>
<nx-dropdown-item value="3">3</nx-dropdown-item>
Hi @keeratita
Should it have to use
value
attribute instead ofnxValue
in the<nx-dropdown-item>
?
Yes correct in v16 we removed the nx prefix in inputs for components. The starter app on the main page should get updated also to use the latest version.
⚡ Reproduction
Steps to reproduce:
📗 Expected Behavior
Should select the value in the dropdown list and show it/them properly.
📕 Actual Behavior
📦 Environment