question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App modernization - missing functionality?

See original GitHub issue

My current app uses Microsoft’s flavor of that day, about 8 years ago or so. Maybe one could say an early implementation of Razor.

@foreach (var sname in services) { <input class="fserviceradio" required="required" type="radio" name="fservice" **data-servval="@sname.billingRate"** value="@sname.Id" style="margin-top: 15px; " /> }

I left out the <label> tag , but in general this is all very recognizable, except for “data-servval”. This is the piece of existing functionality I have not been able to duplicate with MudBlazor

At the time, anything attribute starting with “data-…” would ride along and I could do a Request to find out what its value was.

How can this be implemented in MudBlazor? Basically I to be able to bind a second or third property of sname

Any suggestions would be appreciated.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
porkopekcommented, Mar 30, 2021

Sorry, but this it not related to MudBlazor at all. You should learn how to get and set data from components in Blazor. Basically, you pass parameters to your components and you get the values inside your components as properties. You can use MudBlazor components just to compose your own components, that are able to receive what you want and store it, so you can retrieve it.

0reactions
wvmstrcommented, Mar 30, 2021

Yes, perfect.

Thnx!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Pitfalls of App Modernization Projects
Stakeholders fear losing their role—The business process changes that arise from app modernization efforts may threaten the traditional ...
Read more >
App Modernization 101: A Guide to Transforming Effectively
Missing features will take too long to add,; Fragile code (changes tend to create new problems),; Technology obsolescence (e.g., few programmers ...
Read more >
Addressing the Challenges of Legacy Apps Modernization
Functional and technical documentation is missing, irrelevant, or outdated,; The source code is highly corrected; Used third-party application/ ...
Read more >
What is application modernization?
Application modernization is the process of transforming a legacy system to function on today's cloud and hybrid platforms in order to meet your...
Read more >
App Modernization Is the Missing Piece of Devops
Innovate better. Learn more about how app modernization can help create something new. ... App modernization is the missing piece of devops.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found