id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
mudblazor/4766_65_0.txt | Copy link
Contributor | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_25_0.txt | 1 of 2
#### Go to page | |
mudblazor/options-expression-for-mudselectattribute3_9_3.txt | logger.LogDebug(
"Rendering property: '{PropPath}' as a MudSelect. [idx: '{Index}']",
propPath,
index
);
// Get any non-default attribute values (overrides).
var attributes = To... | |
mudblazor/4766_59_0.txt | I expected to be able to tab into the field and start typing "a" to select a
state.
---
All reactions
Sorry, something went wrong. | |
mudblazor/mudblazor_2_0.txt | ##### [ MudBlazor ](/)
##### [ MudBlazor ](/) [ Docs ](/docs/overview) [ Getting Started
](/getting-started/installation) [ Discover More ](/mud/introduction)
Products
* * *
[ ](https://github.com/MudBlazor/MudBlazor/)
###### **Docs**
[ Overview ](docs/overview)
Components
[ Alert ](components/alert)
[ ... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_52_0.txt | Upvote 0 Downvote
#### cjard | |
mudblazor/36220_6_0.txt | Instant dev environments
* Copilot | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_163_0.txt | Aug 6, 2023
Pablo | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_114_0.txt | Programming Experience
10+ | |
mudblazor/options-expression-for-mudselectattribute3_3_0.txt | # Options expression for MudSelectAttribute
Posted by By Martin November 21, 2021 | |
mudblazor/4766_75_0.txt | * 👍 2 reactions
Sorry, something went wrong. | |
mudblazor/36220_31_0.txt | # MudSelect options dealigned when used with Modal #3622
Unanswered | |
mudblazor/4766_105_0.txt | Assignees
No one assigned | |
mudblazor/4766_100_0.txt | mckaragoz mentioned this issue Oct 5, 2021
Select: Keyboard Navigation #2929 | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_49_0.txt | * * #4
Hello @Skydiver ,
The same happens, it underlines the CountryHasChanged and throws the same
error message.
Hello @cjard ,
I did as you say the bind-Value, but it still gets underlined, and I wouldn't
know when the value changed if I remove the ValueChanged event, or I would? I
would be gratefu... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_34_0.txt | C#:
<MudSelect T="string" ValueChanged="CountryHasChanged" Variant="Variant.Outlined"> | |
mudblazor/4766_77_0.txt | ###
porkopek commented Jun 2, 2021 | |
mudblazor/4766_89_0.txt | rfrancisco commented Jun 3, 2021
Sure. But that would be for the autocomplete, the initial question regarding
MudSelect posted by @ducman still remains.
---
All reactions | |
mudblazor/4766_110_0.txt | Successfully merging a pull request may close this issue.
Select: Keyboard Navigation mckaragoz/MudBlazor | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_68_0.txt | Reply
Upvote 0 Downvote | |
mudblazor/36220_0_0.txt | Skip to content
## Navigation Menu | |
mudblazor/36220_5_0.txt | Find and fix vulnerabilities
* Codespaces | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_80_0.txt | Joined
Jan 25, 2012 | |
mudblazor/4766_66_0.txt | ###
porkopek commented Jun 2, 2021 | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_162_0.txt | Views
819 | |
mudblazor/4766_39_0.txt | ## Comments
Copy link | |
mudblazor/options-expression-for-mudselectattribute3_6_0.txt | Here is some quick markup to produce a dynamic UI from that view-model:
<DynamicForm Model="Model" />
@code {
protected ExampleVM Model { get; set; } = new ExampleVM();
} | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_76_0.txt | Thank you in advance!
Pablo
#### Attachments | |
mudblazor/4766_101_0.txt | Merged
4 tasks | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_159_0.txt | P
* Question | |
mudblazor/4766_49_0.txt |
<MudSelect>
<MudSelectItem SearchText="yellow fruit banana">Banana</MudSelectItem>
<MudSelectItem SearchText="meat steak">Steak</MudSelectItem>
<MudSelectItem SearchText="chocolate cookie">Cookie</MudSelectItem>
<MudSelect>
Dumb example since it is still string but I was trying t... | |
mudblazor/4766_25_0.txt | Query
To see all available qualifiers, see our documentation . | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_60_0.txt | Not database; binding is rarely if ever directly to a database. Binding in
this sense is in c# memory
Reply | |
mudblazor/36220_64_0.txt | Unordered list
Task list | |
mudblazor/4766_2_0.txt | * Product
* Actions | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_86_0.txt |
Or, can do the filtering on set:
### TryMudBlazor - Write, compile, execute and share Blazor components in the
browser | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_87_0.txt | TryMudBlazor is a fiddle-like platform for writing, compiling, executing and
sharing Blazor components entirely in the browser. Perfect for code playground
and testing.
try.mudblazor.com | |
mudblazor/36220_20_0.txt | Search
Clear | |
mudblazor/36220_46_0.txt | \-
Try using AnchorOrigin="Origin.BottomCenter" property on your MudSelect
https://mudblazor.com/api/select#methods
---
Beta Was this translation helpful? Give feedback. | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_152_0.txt |
?
Hmm..
Well..
You want the help, and providing me with something I can just run and work
with without having to spend my time fixing up code that won't run because it
references a non-existent database is kinda a pre-requisite of you getting
that help. Someone else might take on the challenge of gett... | |
mudblazor/options-expression-for-mudselectattribute3_15_0.txt | One of the parameters for ` RenderUIComponent ` is a delegate that is used to
render child content. In our case, for a ` MudSelect ` , the child content
needs to be a list of ` MudSelectItem ` components, with each one bound to a
unique option. Here is where we’ll make use of the ` OptionsFunc ` property …
Notice the ... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_54_0.txt | Jan 25, 2012
Messages | |
mudblazor/options-expression-for-mudselectattribute3_9_2.txt | se != OffsetY)
{
// Add the property value.
attr[nameof(OffsetY)] = OffsetY;
}
// Does this property have a non-default value?
if (false == string.IsNullOrEmpty(Pattern))
{
// Add the property value.
... | |
mudblazor/36220_11_0.txt | * All features
* Documentation
* GitHub Skills
* Blog
* Solutions | |
mudblazor/4766_61_0.txt | ###
rfrancisco commented Jun 2, 2021 | |
mudblazor/options-expression-for-mudselectattribute3_9_1.txt | ] = AutoFocus;
}
// Does this property have a non-default value?
if (false != Clearable)
{
// Add the property value.
attr[nameof(Clearable)] = Clearable;
}
// Does this property have a non-default value?
... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_116_0.txt | It's not "use the third way if you use a DB", it's "the third way is easier if
you use async because properties are inherently syncronous" (and you should be
accessing your DB asyncronously - you don't seem to be doing it)
Blazor works better when you use async code wherever possible; internally it's
better geared... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_118_0.txt | *
Reactions: Pablo
Upvote 1 Downvote | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_97_0.txt | > Pablo said:
>
> the Index.razor doesn't recognize
>
> Click to expand...
Probably forgot a global import. Install the MB templates from nuget and use
them to create new projects instead | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_4_0.txt | Everywhere Threads This forum This thread
Search titles only | |
mudblazor/36220_17_0.txt | GitHub community articles
Repositories | |
mudblazor/options-expression-for-mudselectattribute3_20_0.txt | * * *
So that, in a nutshell, is the new ` OptionsFunc ` property. I added it to the
` RenderMudSelectAttribute ` and ` RenderRadioGroupAttribute ` attributes. I
have yet to go back and add it to the equivalent HTML attributes, but, I
intend to. I’ll also go out, at some point, and add them to the ` Syncfusion `
attri... | |
mudblazor/mudblazor_4_1.txt | [ Field ](api/field)
[ File Upload ](api/fileupload)
[ Focus Trap ](api/focustrap)
[ Form ](api/form)
[ Grid ](api/grid)
[ Hidden ](api/hidden)
[ Highlighter ](api/highlighter)
[ Icon Button ](api/iconbutton)
[ Icons ](api/icons)
[ Image ](api/image)
[ Line Chart ](api/linechart)
[ Link ](api/lin... | |
mudblazor/4766_94_0.txt | The mentioned autocomplete quirk when tabbing away is fixed, see #1761
> There are 3 important missing features in MudSelect that are usually
> available in most Select components:
>
> * Being able to select values using only the keyboard (right now the only
> way to select a value is to mouse click the select to o... | |
mudblazor/4766_9_0.txt | Plan and track work
* Discussions | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_165_0.txt | * Solved
Question Navbar Menu on the left is semi transparent after including
MudBlazor to MainLayout.razor - Blazor | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_107_0.txt | C#:
@page "/"
@using MudBlazorClients.Models
@using MudBlazorClients.Services
<PageTitle>Index</PageTitle>
<MudText Typo="Typo.h3" GutterBottom="true">Hello, world!</MudText>
<MudText Class="mb-8">Welcome to your new app, powered by MudBlazor!</MudText>
<MudAlert Severit... | |
mudblazor/4766_70_0.txt | > For that purpose, use the Autocomplete.
> What are you missing in the Autocomplete that is present in Select?
I would say from a UI/UX perspective that sometimes an Autocomplete is more
than what is needed for a form when a simple Select would suffice. Also, users
have been trained that they can type to select op... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_183_0.txt | Accept Learn more…
Back | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_43_0.txt | *
Reactions: Pablo
Upvote 1 Downvote | |
mudblazor/4766_67_0.txt | > There are 3 important missing features in MudSelect that are usually
> available in most Select components:
>
> * Being able to select values using only the keyboard (right now the only
> way to select a value is to mouse click the select to open the options and
> another mouse click to select the desired value)
> ... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_106_0.txt | * * #10
Hi cjard,
Poor cat! Why do you want to skin him? I'm the best friend of cats here in
Buenos Aires city and surroundings. Ha ha ha!
I must express to you my greatest gratitude: this is the first time that a
MudSelect works for me. I know the Dictionary and that stuff are just to
simulate data loading a... | |
mudblazor/mudblazor_4_0.txt | ##### [ MudBlazor ](/)
##### [ MudBlazor ](/) [ Docs ](/docs/overview) [ Getting Started
](/getting-started/installation) [ Discover More ](/mud/introduction)
Products
* * *
[ ](https://github.com/MudBlazor/MudBlazor/)
###### **Docs**
[ Overview ](docs/overview)
Components
[ Alert ](components/alert)
[ ... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_108_0.txt | Thank you really much.
Pablo
#### Attachments | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_15_0.txt | #### Pablo
##### Well-known member | |
mudblazor/options-expression-for-mudselectattribute3_19_0.txt | If the property does contain a method name, we then start searching for that
method. We search for using the view-model, which is typically the top-level
object that was presented to the form generator. If we don’t find the method
there we move on to the model, which is typically the parent of the property
we’re render... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_96_0.txt | * Aug 9, 2023
* * #9 | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_26_0.txt | Go
Next Last | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_144_0.txt | ##### Well-known member
Joined | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_11_0.txt | Follow along with the video below to see how to install our site as a web app
on your home screen.
Note: This feature may not be available in some browsers. | |
mudblazor/4766_109_0.txt | No milestone
Development | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_168_0.txt | 1K
Jun 12, 2023 | |
mudblazor/4766_108_0.txt | High priority
Milestone | |
mudblazor/36220_33_0.txt | HPnavalhas
Dec 27, 2021 · 1 comments · 1 reply | |
mudblazor/36220_42_0.txt | Comment options
* | |
mudblazor/36220_47_0.txt | 1 You must be logged in to vote
All reactions | |
mudblazor/4766_1_0.txt | Toggle navigation
Sign in | |
mudblazor/36220_43_0.txt | # {{title}}
Something went wrong. | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_59_0.txt | You would (the "set" of the property is called) but you don't need to; if the
property that returns cities uses the set value in its filter then the
filtering is done on get, not on set like you do here
> Pablo said:
>
> The examples in the documentation doesn't use DB binding
>
> Click to expand... | |
mudblazor/36220_49_0.txt | *
# {{title}} | |
mudblazor/4766_17_0.txt | GitHub community articles
Repositories | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_63_0.txt | ##### Well-known member
Joined | |
mudblazor/4766_88_0.txt | Contributor
### | |
mudblazor/36220_3_0.txt | Automate any workflow
* Packages | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_48_0.txt | 10+
* Aug 8, 2023 | |
mudblazor/36220_18_0.txt | * Topics
* Trending
* Collections
* Pricing | |
mudblazor/36220_29_0.txt | * * Notifications
* Fork 1.2k
* Star 7.1k
* Code
* Issues 1.4k
* Pull requests 95
* Discussions
* Actions
* Projects 4
* Security
* Insights | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_84_0.txt | A demo of what I mean when I say "you can do the filtering on get rather than
set":
### TryMudBlazor - Write, compile, execute and share Blazor components in the
browser | |
mudblazor/4766_21_0.txt | Search syntax tips
# Provide feedback | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_139_0.txt | * Aug 23, 2023
* * #14 | |
mudblazor/mudblazor_2_1.txt | [ Field ](api/field)
[ File Upload ](api/fileupload)
[ Focus Trap ](api/focustrap)
[ Form ](api/form)
[ Grid ](api/grid)
[ Hidden ](api/hidden)
[ Highlighter ](api/highlighter)
[ Icon Button ](api/iconbutton)
[ Icons ](api/icons)
[ Image ](api/image)
[ Line Chart ](api/linechart)
[ Link ](api/lin... | |
mudblazor/36220_40_0.txt | 0 You must be logged in to vote
All reactions | |
mudblazor/mudblazor_2_2.txt | on't match any of its parameters. They will be splatted onto the underlying HTML tag.
##### **EventCallbacks**
Name | Type | Description
---|---|---
` OnSwipeEnd ` | EventCallback<SwipeEventArgs> |
[ Stack ](api/stack)
[ Table ](api/table)
Copyright © 2020-2024 MudBlazor.
Powered by .NET 8.... | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_131_0.txt | 10+
* Aug 16, 2023 | |
mudblazor/4766_48_0.txt | ducman commented Jan 5, 2021
I would agree. For complex scenarios, I'm not sure if just adding a custom
parameter to the ` MudSelectItem ` so the search engine can use that to
perform the search. | |
mudblazor/36220_7_0.txt | Write better code with AI
* Code review | |
mudblazor/options-expression-for-mudselectattribute3_16_0.txt | So, assuming ` OptionsFunc ` contains the name of a method, and assuming we
found that method using a call to ` TryOptionsFunc ` , we then call that named
method to get a list of options. On the other hand, if ` OptionsFunc ` doesn’t
have a method name in it, or we couldn’t find the method, then we fall back to
using t... | |
mudblazor/36220_4_0.txt | Host and manage packages
* Security | |
mudblazor/36220_28_0.txt | {{ message }}
MudBlazor / MudBlazor Public | |
mudblazor/mudblazor-simple-syntax-various-errors-in-cascade-dropdownlists.92730_100_0.txt | *
Reactions: Pablo
Upvote 1 Downvote |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.