-
Notifications
You must be signed in to change notification settings - Fork 461
[Lists] Make list components inherit from InputBase #2118
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
a0366fc
Wip
vnbaaij 76e43de
wip
vnbaaij fe7339d
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
vnbaaij 7565656
AutoComplete remove extraneous ImmediateDelay
vnbaaij 2e1465f
Make Select and Listbox work, Clean up:
vnbaaij 05737a8
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
vnbaaij 8bc7d35
Combobox work
vnbaaij c774b14
Merge branch 'users/vnbaaij/lists-to-inputbase' of https://github.com…
vnbaaij 2af5a07
Fix compile warnings
vnbaaij 0adbfc7
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
dvoituron 6c7cf67
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
dvoituron d4e5884
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
vnbaaij 90f59b1
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
vnbaaij e61b397
Fix FieldBound review remarks
vnbaaij c36dc14
Fix test error
vnbaaij fdbb92a
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
vnbaaij 5bb4800
Fix multiple blank lines
vnbaaij f66fb3d
Better OptionTemplate example for Combobox
vnbaaij 430f28a
Move list components to Forms section
vnbaaij 8213d4b
Move invalid styling to assets project as reboot might not always be …
vnbaaij c3de3e9
Move invalid styling to assets project as reboot might not always be …
vnbaaij 615922f
Merge branch 'users/vnbaaij/lists-to-inputbase' of https://github.com…
vnbaaij fa7af9a
Process review comments
vnbaaij 21ff684
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
vnbaaij 9db886d
Fix cobobox issues
vnbaaij aa95afe
Use IssueTester as test page
vnbaaij 037be48
Fix Combobox keyboard list selection
vnbaaij 88f61dd
Merge branch 'users/vnbaaij/lists-to-inputbase' of https://github.com…
vnbaaij f183f24
Add Unit Tests
dvoituron acd6a22
Fix the mouse selection issue
dvoituron 1ea5c8a
Remove FluentInputLabel from Autocomplete
dvoituron f74c84b
Add missing attributes
dvoituron b3eea8d
Unit Tests
vnbaaij 542d8c1
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
dvoituron 833b2d4
Add Autocomplete.Value property
dvoituron 899ec26
Add Obsolete flag
dvoituron 0d85016
Merge branch 'users/vnbaaij/lists-to-inputbase' of https://github.com…
vnbaaij aceb94d
Add Unit Tests
vnbaaij 8b59a95
Fix #2139
vnbaaij 5fe8048
Add Autocomple Embedded
dvoituron e38952c
Move autocomplete back to components
vnbaaij 096b45f
Merge branch 'users/vnbaaij/lists-to-inputbase' of https://github.com…
vnbaaij 0fe53ac
Merge branch 'dev' into users/vnbaaij/lists-to-inputbase
vnbaaij File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,53 @@ | ||
| @page "/IssueTester" | ||
|
|
||
| <FluentCombobox Items="_items" | ||
| TOption="string" | ||
| SelectedOptionChanged="x => HandleOriginProductChanged(x)" /> | ||
|
|
||
|
|
||
|
|
||
| <EditForm Model="@this"> | ||
| <p>Modified: @(context.IsModified())</p> | ||
|
|
||
| <FluentSelect TOption="MyThing" @bind-SelectedOption="@soSelect" | ||
| Items="@AllThings" OptionText="@(x => x.DisplayText)" /> | ||
|
|
||
| <FluentListbox TOption="MyThing" @bind-SelectedOption="@soListbox" | ||
| Items="@AllThings" OptionText="@(x => x.DisplayText)" /> | ||
|
|
||
| <FluentListbox TOption="MyThing" @bind-Value="@vListbox" | ||
| Items="@AllThings" OptionText="@(x => x.DisplayText)" /> | ||
|
|
||
| <FluentCombobox Items="@AllThings" | ||
| TOption="MyThing" | ||
| OptionText="@(x => x.DisplayText)" | ||
| @bind-SelectedOption="@soCombobox" | ||
| @bind-Value="@vCombobox" /> | ||
|
|
||
|
|
||
| <FluentTextField @bind-Value="@someString" /> | ||
| </EditForm> | ||
| <p> | ||
| Selected (Select): @soSelect <br /> | ||
| Selected (Listbox): @soListbox <br /> | ||
| Value (Listbox): @vListbox <br /> | ||
| Selected (Combobox): @soCombobox <br /> | ||
| Value (Combobox): @vCombobox <br /> | ||
| Text field: @someString | ||
| </p> | ||
| @code { | ||
| MyThing? soSelect, soListbox, soCombobox; | ||
| string? vListbox, vCombobox; | ||
|
|
||
| string? someString; | ||
| MyThing[] AllThings = new[] { new MyThing(1, "One"), new MyThing(2, "Two") }; | ||
|
|
||
| record MyThing(int Id, string DisplayText); | ||
|
|
||
| private List<string> _items = ["Item 1", "Item 2", "Item 3"]; | ||
|
|
||
| private void HandleOriginProductChanged(string? value) | ||
| { | ||
| Console.WriteLine($"Selected product: {value}"); | ||
| } | ||
| } |
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.