Skip to content

Input props updates#189

Merged
tcbegley merged 3 commits intomasterfrom
input-props-updates
May 10, 2019
Merged

Input props updates#189
tcbegley merged 3 commits intomasterfrom
input-props-updates

Conversation

@tcbegley
Copy link
Collaborator

This PR makes two changes:

  1. Some props of Input that map to HTML attributes were previously not camel cased and hence not applied correctly. While we could have built some kind of shim to pass these down to the underlying HTML elements, dash-core-components chose to rename them, and I think it makes sense to stay consistent with them. See their changelog

  2. Use timestamp rather than date object in *_timestamp props in Input.

Use a number now instead of a date object / string. This is consitent 
with how *_timestamp props work in other components such as Button.
@tcbegley tcbegley changed the title Input props updates Apr 26, 2019
@tcbegley
Copy link
Collaborator Author

The tests are failling because *_timestamp props no longer hold a date object. Will update the test since this is intended behaviour.

@tcbegley tcbegley force-pushed the input-props-updates branch from f37373e to bb8de8c Compare May 10, 2019 19:01
@tcbegley tcbegley changed the title [WIP] Input props updates May 10, 2019
@tcbegley tcbegley merged commit 46572b4 into master May 10, 2019
@tcbegley tcbegley deleted the input-props-updates branch May 10, 2019 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant