Blazorise icon indicating copy to clipboard operation
Blazorise copied to clipboard

DatePicker: disable input on mobile

Open stsrki opened this issue 3 years ago • 5 comments

Closes #4577

This PR disables the input it DisableMobile is enabled. I have also set DisableMobile with default false, par flatpickr documentation.

The only problem is that the input is shown as grayed like it has a disabled state. I don't know if that is the right behavior for the flatpickr.

Example

image

@Mr-Pearce do you think this is OK?

stsrki avatar Feb 11 '23 19:02 stsrki

It will probably confuse users when the form is greyed out as if it is disabled but is enabled just that the keyboard wont show up.

Mr-Pearce avatar Feb 12 '23 10:02 Mr-Pearce

I have to agree with Mr.Pearce, If I'm a user I would think its disabled by some reason. Isn't there a better way to represent that text is disabled but you can interact with it?

David-Moreira avatar Feb 16 '23 22:02 David-Moreira

@stsrki friendly reminder, this PR sitting here

David-Moreira avatar Jul 31 '23 21:07 David-Moreira

@stsrki friendly reminder, this PR sitting here

I know. I still didn't have much time to fix an error on flatpickr side. Which we must do before even applying it here.

stsrki avatar Aug 01 '23 04:08 stsrki

Just a friendly reminder, @stsrki

David-Moreira avatar Jan 01 '24 18:01 David-Moreira