agentejo / cockpit

Add content management functionality to any site - plug & play / headless / api-first CMS
http://getcockpit.com
MIT License
5.39k stars 523 forks source link

placeholder (null or "") doesn't work with textarea #1496

Open Der-K-2000 opened 2 years ago

Der-K-2000 commented 2 years ago

Even though I put a "placeholder" in the textarea's option it will be ignored in the formular in the backend.

This

{
  "placeholder": null
}

and

{
  "placeholder": ""
}

lead to the output: Text...

screenshot

Only

{
  "placeholder": " "
}

works correctly (so with an additional Space).