Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

128
Views
How can I make a space available in a razor component to receive an HTML code from the page "index.cshtml"?

I'm working with componentization in razor and I need to componentize an element that I called "field". in my razor component, I need to leave a space so that the user who is going to use my component can pass the HTML code he finds necessary via a .cshtml page. is this possible in razor?

class is-required: true | false
attr for
text label
text description
html HTML

<div class="field is-required">
  <label class="field__label" for=""> Label </label>

  <XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX>
 
  <p class="field__description">Informe os dados solicitados no campo acima</p>
</div>

Where is the "xxxxxxxxxxxxxxxxxxxxx" the parameter for the HTML input would be

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!