-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DatePicker 同时为 true clearable input-readonly 无法清除 #6658
Comments
无法显示 clear 图标 |
Code looks as expected, clear button cannot be displayed in |
感觉不合理,能设置 value ,无法 清除 |
是合理的,因为它是 input-readonly,作用是不让 input 人机交互,设置 value 是通过面板交互的 |
这个不合理,input-readonly只是让人不要通过键盘输入,移动端友好,而可清除并不和这个冲突,点清除图标键盘依然不会弹出 |
close图标本身也不是input的的啊 而且这个只读并不是不能修改值,只是不能通过键盘输入值,有了close图标依然可以做到不能输入值啊 |
这不太合理,clearable 控制是否显示清除按钮,在 input-readonly 是无法显示 close 图标, 这两个属性的功能都是独立的 |
描述错误
当 NDatePicker clearable input-readonly 同时 为 true , 清除按钮无法显示
复现步骤
当 NDatePicker clearable input-readonly 同时 为 true , 清除按钮无法显示
最小复现链接
https://play.pro-components.cn/#eNp9ks1u2zAQhF9ly4sdwLYQtCdDCdC0Adoe3KAtmgsvDLWWmVAkwR/FhqB375KqVR+K3LQzw+W3Kw7so3ObPiHbsjpIr1yEgDG5W25U56yPMIDHPYyw97aDBUUXF9buLsVozQp2n0XEByVf0M9ZI1SP66ToADfSmhChCy3c5IbLxRfU2sKj9bp5t7g6Bxpq81vohBRb5p4bY1+XV+TX1cRHZFRE7JwmmyqA+nANUosQbjiTa48NZ7ePqKXtsK4O11PGrJ8KK8STQwo6rzrhTxQdhsI1jnV1DpVL6NDFWLkG6NedbVBv+8xIXWZezqbA3+5Z98K0s66MS5HYRGONPk2a1Ci8eNKYy4rurKuLudiKxUBb2at28xysoV805CDNaDunNPrvLiraGmdbKE72BG319VvRok+4OuvygPLlP/pzOGaNswePAX1PwLMXhW8xTvb9zx0e6Xs2aQ+JyN8yf2CwOmXGKXaXTEPYF7lC+7W8JmXaX+H+GNGE81AZNCfHkueMHt+nN0b/h/t+86Gc42Zk4x9SMPd6
系统信息
使用的包管理器
npm
验证
The text was updated successfully, but these errors were encountered: