modus-web-components icon indicating copy to clipboard operation
modus-web-components copied to clipboard

Datepicker: Unable to clear out modus date-picker internal error state 'Invalid date range'

Open venkyn13 opened this issue 1 year ago • 1 comments

Prerequisites

Describe the issue

In our 'Field Data' application, inside filter panel, we are using modus date-picker component. This component maintains an internal error state 'Invalid date range', when an user selects invalid 'from and to date range'. While we have tried to clear out this date range on our own, the date range got cleared out but the message 'Invalid date range' is still appearing Modus bug - date picker

Reduced test cases

No response

What operating system(s) are you seeing the problem on?

No response

What browser(s) are you seeing the problem on?

No response

What is the issue regarding ?

@trimble-oss/modus-web-components

What version of npm package are you using ?

No response

Priority

High

What product/project are you using Modus Components for ?

Field Data

What is your team/division name ?

Geospatial - CPD

Are you willing to contribute ?

None

Are you using Modus Web Components in production ?

No response

venkyn13 avatar Aug 23 '24 06:08 venkyn13

Hello @venkyn13! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

github-actions[bot] avatar Aug 23 '24 06:08 github-actions[bot]

See if we can re-validate by listening to the valueChange event of the date inputs.

prashanth-offcl avatar Oct 23 '24 13:10 prashanth-offcl

This issue has been resolved after adding errorText field to modus-date-picker component.

venkyn13 avatar Nov 11 '24 09:11 venkyn13