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
This is not a bug, but a feature request IMHO. We need a "controled" mode on this component, exactly like NInput which have default-value prop (not reactive as expected for a default value) and a value prop (reactive, as expected for a "controlled" mode).
Exposing a method to set the value might be a great addition too (very useful if someone what to implement a reset to default value on separator dbl click, for example 😉).
This is not a bug, but a feature request IMHO. We need a "controled" mode on this component, exactly like NInput which have default-value prop (not reactive as expected for a default value) and a value prop (reactive, as expected for a "controlled" mode).
Exposing a method to set the value might be a great addition too (very useful if someone what to implement a reset to default value on separator dbl click, for example 😉).
TuSimple/naive-ui version (版本)
2.36.0
Vue version (Vue 版本)
3.4.3
Browser and its version (浏览器及其版本)
120.0.6099.130
System and its version (系统及其版本)
windows11
Node version (Node 版本)
20.10.0
Reappearance link (重现链接)
https://codesandbox.io/p/devbox/navie-ui-test-forked-g379xl
Reappearance steps (重现步骤)
切换比例值,面板不会随着值的变化改变大小
Expected results (期望的结果)
值改变后面板比例跟随变化
Actual results (实际的结果)
面板比例不变
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: