Skip to content

Va(Time/Date)Input bugs #2768

@smellyshovel

Description

@smellyshovel

1

Latest version.

            <va-time-input
              v-if="useIndexProxy"
              v-model="rawSearchRequestEntry.timeTo"
              :disabled="!rawSearchRequestEntry.dateTo"
              manual-input
              autocomplete="off"
              icon=""
            />

When disabled, the component still allows to modify the input manually (when the manual-input prop is on):

vatimeinputbug.mp4

Maybe there's the same issue with date-input, didn't check.

2

Less of a bug, but still.

When icon="" is set, the icon is indeed not shown. Though it's still possible to target it with keyboard navigation.
Would be nice to have some way to disable the icon completely.

3

For Date input, or even rather date picker, it's impossible to change the back n' forth icons (chevron_left and chevron_right). Trying to rewrite these icons using the icons config - doesn't help.
Would be nice to either be able to change these icons via props or using the icons config. The last option is preferable.

4

Another minor thing.
The input field itself is a bit smaller that its wrapper. But both of them share the same cursor style. When clicking the input (with manual input mode), no calendar/time-picker is opened. But when clicking the wrapper, it openes.
A bit mislieading. If you don't know there's a wrapper, it might feel like the dropdown opens randomly.

inputs.mp4

Metadata

Metadata

Assignees

Labels

BUGSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions