WebDatePicker not showing the selector in 2021R1?

I’m just testing 2021R1, Some things got fixed, good! Other things seem to be broken like the WebDatePicker not showing the selector when it gets focus. Am I missing something?

1 Like

Bug in 2021R1

Case 64234

Hopefully, this bug will be fixed in a short time.
I use it a lot in all applications.

It is already marked as fixed but we need to wait for next release.

You can use a workaround for now.

Same here, with this broken 2021 has no use for me

Right! Thanks for pointing that out. The workaround is not that good for apps with international users but in my case it will work.

1 Like

Hi Hector,

until the new release comes out with the bug fixed, you may find my solution useful. I use a container control that I add to the datepicker field and in version 2021 it still works. I don’t know what you think, but it might help you in the meantime. It looks like this:

Datepicker_2021

I attach an example so that you can see that it works: MyDatePickerExample

I hope it helps.
Sergio

1 Like

Sergio,

Is it supposed to display a calendar ???
Or just, the date is captured manually.

If I click the calendar icon, I get this:
image

Thanks!

I still need to add this to session.opening

Session.LanguageCode = "es"

For the example to work though. On the plus side I have been meaning to make a container control with the button just like the one you did. So I’m “borrowing” yours :slight_smile:

I suggest:

Session.LanguageCode = Session.LanguageCode.NthField("-",1)

Edit: Fixed delimiter.

2 Likes

No problem Hector,

I’m glad it helped you. I actually like using the button with the container control rather than clicking directly on the datepicker field.

1 Like

Thanks for the input, but I believe it should be:

Session.LanguageCode = Session.LanguageCode.NthField( "-" , 1 )

yes, of course you are correct.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.