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

Improve TimeField Validation Labels and Behavior #352

Open
hyyan opened this issue Nov 28, 2024 · 0 comments
Open

Improve TimeField Validation Labels and Behavior #352

hyyan opened this issue Nov 28, 2024 · 0 comments

Comments

@hyyan
Copy link
Member

hyyan commented Nov 28, 2024

Rename the “Maximum” and “Minimum” section in the DateField component to “Min and Max Value” for better clarity. Update the phrasing and explain the functionality as follows:

  • For setMax: If the value entered into the component is later than the specified maximum time, the component will fail constraint validation. When both the min and max values are set, the max value must be a date that is the same as or later than the min value.
  • For setMin: If the value entered into the component is earlier than the specified minimum time, the component will fail constraint validation. When both the min and max values are set, the min value must be a date that is the same as or earlier than the max value.

https://docs.webforj.com/docs/components/fields/timefield#maximum-and-minimum

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

No branches or pull requests

1 participant