Discuss anything related to web development but no technical support questions


Post by darshanhiranandani23 »

Hi everyone,

I’m Darshan Hiranandani, encountering an issue with the TimeField control in Angular and could use some advice. I’ve set min and max values for the TimeField control using both string and date data types. However, despite these settings, the validation messages for exceeding these limits do not appear as expected.

Here’s what I’ve tried:

Configured min and max values in the TimeField control.
Tested with times that should trigger validation errors.
But I’m not seeing any validation messages when the input time exceeds the max value or falls below the min value.

Is this behavior expected? Should I be seeing validation messages for min and max values? If not, what might be going wrong, and how can I correct it?

I would appreciate any insights or suggestions on how to get the validation to work properly.

Thanks in advance for your help!

Best regards,
Darshan Hiranandani


Post by alex.l »

Hi,

tested in docs here https://bryntum.com/products/gantt/docs/api/Core/widget/TimeField
It worked as expected

Screenshot 2024-08-29 at 12.08.25.png
Screenshot 2024-08-29 at 12.08.25.png (380.43 KiB) Viewed 550 times

Please provide more info what's not clear?

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post Reply