Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Added titles to the datepickers for better UX #118

Closed
wants to merge 2 commits into from

Conversation

coreycoburn
Copy link
Contributor

Give a better UX for the end user. When a date picker modal is open it is not apparent what modal is open. It could be confusing to the end user if there are multiple datetime components on the form. This change adds a title to give the user better feedback.

Also in the pull request is the option to add a placeholder for the input.

@coreycoburn
Copy link
Contributor Author

screen shot 2018-12-14 at 11 08 20 am

screen shot 2018-12-14 at 11 08 45 am

screen shot 2018-12-14 at 11 08 58 am

mariomka added a commit that referenced this pull request Jan 13, 2019
@mariomka
Copy link
Owner

mariomka commented Jan 13, 2019

This PR mixes some different things, adds title prop, removes dist from .gitignore and adds a placeholder, but only the title props make sense for me (placeholder is already working with inherit props and I do not like to check in build artifacts into source control.

Then, I have implemented the title prop and I have added some tests and info in readme. Commit: 0da317c

Thank you anyway.

@mariomka mariomka closed this Jan 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants