how to add default data in select form without option code example
Example 1: in select option how to make one default
<select>
<option value="" selected disabled hidden>Choose here</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
<option value="5">Five</option>
</select>
Example 2: default value to select simple form for
<%= f.input :nap, default: Time.parse('8:00') %>