CSS remove o foco de entrada da borda
textarea:focus, input:focus{
outline: none;
}
angro
textarea:focus, input:focus{
outline: none;
}
var element = document.getElementById('btnBuild');
element.setAttribute("disabled", "disabled");
<input type="text" id="yourID" value="test" readonly="readonly" />
You can change it in javascript with :
document.getElementById("yourID").readOnly = false; //This enables the possibility to focus
// Use focus() && blur() to add or remove focus.
import { useRef } from "react"
const inputRef = useRef()
// To remove focus: inputRef.current.blur()
// To focus: inputRef.current.focus()
<input ref='inputRef' {...value} />
.bootstrap-select .form-control:focus {
outline: 0px none #fff !important;
}
.bootstrap-select .form-control > div.filter-option:focus {
outline: 0px none #fff !important;
}
.bootstrap-select .form-control > div.filter-option > div.filter-option-inner:focus {
outline: 0px none #fff !important;
}
.bootstrap-select .form-control > div.filter-option > div.filter-option-inner > div.filter-option-inner-inner:focus {
outline: 0px none #fff !important;
}