ahmed salah

ahmed salah

  • 1.1k
  • 547
  • 49.9k

How to set input textbox to readonly false when drop down list option

May 31 2023 8:12 PM

I work on blazor server side . i face issue i can't change read-only to false to input textbox when drop down list selected value yes .

so i need sample for razor page have drop down list with 3 values

0 select

1 Yes

2 No

and input text box

when page load for first time drop down will be select option as default value 0 and input textbox with read only true and user can't read and write on it

when change drop down selection to yes it will make input textbox with read-only false so user can read and write on textbox


Answers (1)