Hi I have a bootstrap form displayed in readonly with multiple textareafors based on the info the user entered. But if user has entered a long email address the form cuts off the email. Is there a way to change the height if the user enters small or large email.
I tried using textarea{ height: auto !important; min-height:38px;} but this changes the textarea height on all infos.
<div class="col-md-6"> @Html.TextAreaFor(m => m.Email, new { @readonly="readonly" } ) </div>
https://www.tutorialrepublic.com/codelab.php?topic=bootstrap&file=read-only-input-and-textarea
https://stackoverflow.com/questions/66609754/textareafor-boostrap-readonly-height-based-on-database March 13, 2021 at 11:07AM
没有评论:
发表评论