You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @jbhrfx9280. Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case on CodePen or StackBlitz and report back with your link, Bootstrap version, and specific browser and Operating System details.
<divclass="input-group input-group-sm mb-1"><spanclass="input-group-text">With textarea</span><textareaclass="form-control" id="myTextarea" aria-label="With textarea"></textarea></div><buttonid="btn">Set Text</button>
**And handling form data from textarea**
<script>document.getElementById('submitBtn').addEventListener('click',function(){lettextareaValue=document.getElementById('myTextarea').value;console.log('Textarea value:',textareaValue);// You can then do something with the textarea value like validation or sending it via AJAX});</script>
I am wild guessing, that the form tag {{ form.social_title }} is being replaced with 'title text' element with the class class="form-control" causing the issue cum as intended for "input-group".
And what exactly are you trying to achieve? Trying to set placeholder text for the textarea?
Prerequisites
Describe the issue
See below example with {{ form.field }} added
FYI - I'm new to bootstrap 5 and HTML design, more of a coder so clearly I can be doing this wrong.
Framework: Django
Reduced test cases
see below without form.field added
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Microsoft Edge
What version of Bootstrap are you using?
5.3.3
The text was updated successfully, but these errors were encountered: