Ответ 1
Вы можете попробовать комбинировать два входа, чтобы они выглядели как один из предлагаемых @DoeNietZoMoeilijk.
Вы можете добиться этого с помощью HTML и CSS, попробуйте следующее:
HTML:
<input type="text" value="Read only" id="first" readonly="readonly" />
<input type="text" value="Editable" id="second" />
CSS
#first {
border-right: none;
}
#second {
border-left: none;
margin-left: -5px;
}
И вот пример фрагмента:
#first {
border-right: none;
}
#second {
border-left: none;
margin-left: -5px;
}
<input type="text" value="This is read only part" id="first" readonly="readonly" />
<input type="text" value="Editable" id="second" />