Website: Convert Form > SuperSelect demos to the new format#3687
Open
shleewhite wants to merge 3 commits intomainfrom
Open
Website: Convert Form > SuperSelect demos to the new format#3687shleewhite wants to merge 3 commits intomainfrom
shleewhite wants to merge 3 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| If options are implemented as an array of strings and have the same name, they will be treated as the same, so selecting one will select others with the same name. To avoid this, implement your options using objects. (e.g. [{name: "name", label: "label"}, ...]) | ||
| !!! | ||
|
|
||
| **Nested data structure example:** |
Contributor
There was a problem hiding this comment.
Would you maybe want to call out somewhere that the javascript in the updated code-snippets contains a nested data structure example?
| {{@option.size}} | ||
| </span> | ||
| ``` | ||
| [[code-snippets/example-selected-item-component execute=false]] |
Contributor
Contributor
Author
There was a problem hiding this comment.
I'm kind of inclined to leave it as is... Just because it is what the consumers should do and it shows how you can correctly add arguments to the component. But I dont feel that strongly.
| </F.Options> | ||
| </Hds::Form::SuperSelect::Single::Field> | ||
| ``` | ||
| [[code-snippets/super-select-single-selected-item-component]] |
Contributor
Contributor
Author
There was a problem hiding this comment.
oh, Im still seeing it as preselected:
Contributor
KristinLBradley
left a comment
There was a problem hiding this comment.
Just added a few minor comments & questions.
62c5fd5 to
1e4da42
Compare
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
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.


📌 Summary
If merged, this PR would convert the Form > SuperSelect demos to thew new format.
Current
Proposed
🔗 External links
Jira ticket: HDS-5858
💬 Please consider using conventional comments when reviewing this PR.
📋 PCI review checklist
Examples of changes to controls include access controls, encryption, logging, etc.
Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.