-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Shorthand supports for dash-core-components #1747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ns data, update DataTable - params order changed for shorthand support, added TODO
Feat: auto generating component id
chriddyp
reviewed
Sep 6, 2021
components/dash-core-components/src/components/Checklist.react.js
Outdated
Show resolved
Hide resolved
chriddyp
reviewed
Sep 6, 2021
chriddyp
reviewed
Sep 6, 2021
chriddyp
reviewed
Sep 6, 2021
chriddyp
reviewed
Sep 6, 2021
components/dash-core-components/src/fragments/Dropdown.react.js
Outdated
Show resolved
Hide resolved
auto fill component with random id inside dash dependency
…xes the disappearing of explicitely given marks
…to dcc/fix-issue960
…k and the DropDowns propTypes are fixed
…3 are not formatted, so that they can have floating numebrs
chriddyp
reviewed
Sep 17, 2021
components/dash-core-components/tests/integration/misc/test_persistence.py
Outdated
Show resolved
Hide resolved
chriddyp
reviewed
Sep 17, 2021
…therwise 0.1 will be auto assigned
chriddyp
reviewed
Sep 18, 2021
components/dash-core-components/tests/integration/dropdown/test_dropdown_shorthands.py
Outdated
Show resolved
Hide resolved
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replaced by #1763 and this can be closed, looks like too much commits
This PR implements this issue to support optional shorthand supports for below components.
You can compare old format and new format.
Dependency Update
Input
Output
State
can now accept component object as well as string value of the component keyUpdated Components with change notes
Dropdown
options
props can now be passed without being a keyword argumentoptions
can now accept array of string as well as previous format (array of dictionary)RangeSlider
min
max
step
Checklist
options
props becomes first argument, can be passed without keywordinline
props to specify ifoptions
are array of string or dictionary (previous format)RadioItems
options
props becomes first argument, can be passed without keywordinline
props to specify ifoptions
are array of string or dictionary (previous format)DataTable
data
andcolumns
props becomes first 2 arguments, can be passed without keywordcolumns
automatically from givendata