0👍
Use this code, It works:
div.my-input
input(type="text", autofocus="",placeholder="focused onLoad")
div.my-input
input(type="text",placeholder="not focused")
<div class="my-input">
<input type="text" autofocus="" placeholder="focused onLoad"/>
</div>
<div class="my-input">
<input type="text" placeholder="not focused"/>
</div>
Like you can see here the demo link
- [Vuejs]-Change display of WP REST API Date with Vue js on Laravel
- [Vuejs]-Correct this value using find() in Vue.js
Source:stackexchange.com