I do not want the dropdown default selected option to display separately but why is this happening.
Is there an option to skip the jquery setting for a particular dropdown? Like using some function like preventDefault ?
Please refer the below url.
[1]: https://jsfiddle.net/ufLr0wo2/
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://code.jquery.com/mobile/1.5.0-rc1/jquery.mobile-1.5.0-rc1.min.js"></script>
</head>
<body>
<form>
<select>
<option value="0">item 0</option>
<option>item 1</option>
<option>item 2</option>
</select>
</form>