Text Area cannot render with given value


Topic: Text Area cannot render with given value

alvintng pro asked 6 years ago

The textarea does not render the value when coded in onload. 

That is, 'abc' does not show when the following html is rendered.

<textarea type="text" id="form7" value="abc" class="md-textarea form-control" rows="3"></textarea>

Piotr Glejzer staff commented 6 years ago

Hi,

If you want render text inside 'textarea' you have to use 'placeholder' or 'name'.

https://mdbootstrap.com/snippets/jquery/piotr-glejzer/209491

Best,

Piotr


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.15
  • Device: Laptop
  • Browser: Chrome
  • OS: Mac
  • Provided sample code: Yes
  • Provided link: No