Skip to content

Conversation

@vnbaaij
Copy link
Collaborator

@vnbaaij vnbaaij commented Jan 23, 2024

  • Change components in such a way that it does not matter if the options come from an IEnumerable<TOption> or from manually specified FluentOptions. We find the selected option with JS in the aria-activedescendant attribute and then call OnClickHandler on on the corresponding FluentOption<TOption>

  • Simplify option rendering by using a single RenderOptions method. Move check if Items exist to this method. If no, just outpud ChildContent. If yes, render the FluentOptions

  • Make Option with Icon work for all types in RenderOptions. In earlier code this only worked when T was a string

  • AutoComplete: remove virtual keyword

  • Cleanup IssueTester

@vnbaaij vnbaaij added the improvement A non-feature-adding improvement label Jan 23, 2024
@vnbaaij vnbaaij added this to the V4.3.2 milestone Jan 23, 2024
@vnbaaij vnbaaij requested a review from dvoituron January 23, 2024 07:45
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-pebble-0dc79cb03-1372.westeurope.3.azurestaticapps.net

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-pebble-0dc79cb03-1372.westeurope.3.azurestaticapps.net

@vnbaaij vnbaaij enabled auto-merge (squash) January 23, 2024 14:13
@vnbaaij vnbaaij requested a review from dvoituron January 23, 2024 14:15
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-pebble-0dc79cb03-1372.westeurope.3.azurestaticapps.net

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-pebble-0dc79cb03-1372.westeurope.3.azurestaticapps.net

@vnbaaij vnbaaij merged commit 75e6d71 into dev Jan 23, 2024
@vnbaaij vnbaaij deleted the vnbaaij/lists-work branch January 23, 2024 16:04
vnbaaij added a commit that referenced this pull request Jan 23, 2024
* [DataGrid] - Add Loading and LoadingContent parameters

* Additional height work

* Process review comments

* - Simplyfy option rendering
- AutoComplete: remove virtual keyword
- Make Option<> with Icon work for all types
- Cleanup IssueTester

* Fix compiler warnings/messages

* Undo compiler warning fix because of side-effects
Move List examples into 1 folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement A non-feature-adding improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants