Abdul Malik
Abdul Malik

Reputation: 317

Why checkboxes are not visible in spring boot framework?

I wrote the following code in html

<form>
    <textarea class="heighttext" type="text"/>
    <input type="checkbox" name="your-group" value="unit-in-group" />Unit-in-group
</form>

But the problem is that when I run the application it just shows text "Unit-in-group" and the checkbox is invisible. Can anyone tell me what is the problem.

Upvotes: 1

Views: 187

Answers (1)

user1211
user1211

Reputation: 1515

The code should be

<form>
<textarea class="heighttext" type="text"></textarea>
    <input type="checkbox" name="your-group" value="unit-in-group">Unit-in-group
</form>

Upvotes: 2

Related Questions