Date Picker Validity Indication Issue on Initial Page Load When Connected to Dataset

I’m having a problem where my date pickers are appearing in an error state on initial page load when they are connected to a dataset, when my understanding is they should appear in their regular state until their validity is checked on dataset save. To make matters weirder, I tried to fix it by using the .resetValidityIndication() method in onReady, but it had no effect, even though it does work when called from a button click.

An example is here: https://bigenginespc.wixsite.com/test

You can see that the connected date picker is shown in an error state while the unconnected date picker is not. Both are set to required, so the underlying validity is false for both. All permissions on the dataset are set to “anyone”.

Here’s the simple code:

Anyone got any ideas on this? It’s really ugly for the user experience!

Thank you!

4 Likes

Hi,
It is a bug on our end, required fields may sometime load red, you can workaround this issue and set a load date to the date picker in the settings.

Sorry for the inconvenience,
Or

Good to know the cause, thanks Or. Is it on a list to fix at some point? I’d rather not set a default date due to user experience reasons, so maybe I’ll wait it out for a while if so. Thanks again.

It will be fixed but we can’t supply an ETA.

Got it, thanks!

Seems this issue is still pending … any idea when it will be fixed … over a year now

This problem has been fixed.

If the dataset permissions are set to Write-only, that might be the cause of the validation problem.

Great, thank you!

I understand you’re saying to set to Read and Write as a work around, but for security reasons, can you please have it fixed for Write-only too please? I am still having this problem.