Skip to content
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

[Bug Report]: PDateDigitalClockPicker控件的一些问题 #1517

Open
Lee-Lily-Lea opened this issue Aug 29, 2023 · 0 comments
Open

[Bug Report]: PDateDigitalClockPicker控件的一些问题 #1517

Lee-Lily-Lea opened this issue Aug 29, 2023 · 0 comments

Comments

@Lee-Lily-Lea
Copy link

Masa.Blazor version

1.0.3

Describe the bug

问题1. 关于AllowedTimes
5b0144ab1d41b7a90b6d74194cce9e0

d1d11b206173a4b1d52b3e8f0e68ac3

如上图 在设定了AllowedTimes以后 false的timeonly是disabled而不是直接移除 会导致需要下拉很多才能到 true的选项

通过css的display:none 只能解决显示问题 但是激活项仍是第一个 00:00
061743c14e1eaeb8b16ace8af5b598c

希望能够直接将不允许的值直接移出"列表" 或者增加一个类似的过滤属性

问题2. 关于默认值
几个Step设置了以后 配合几个Allowed属性 理论上能选的TimeOnly是几个点值 默认的值是当前时间 容易出现没踩在点上 然后又不会有什么表示(再确认之前) 建议增加一个bool属性 设置时候把自动的TimeOnly部分"磁吸"到可选的值上

Expected Behavior

No response

Steps To Reproduce

No response

Reproduction code

No response

.NET version

net 7.0

What browsers are you seeing the problem on?

Microsoft Edge

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants