JSFiddle - React, Tailwind, and code Playground
by Lalji Tadhani
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h4>your default code with issue</h4>
<form>
<div class="input-group">
<input id="customer-search" type="text" class="key form-control" placeholder="Search">
<span class="input-group-append">
<button class="clear btn btn-default" type="button" title="Clear">
<span class="tim-icons icon-simple-remove">X</span>
</button>
</span>
</div>
</form>
</div>
</body>
</html>