JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" disabled value="a" /><br />
<input type="text" disabled value="b" /><br />
<input type="text" value="c" /><br />

CSS

input:disabled { color: gray; }

JavaScript

$('input:disabled[value=a]').hide();
$('input:disabled[value=b]').val('disabled');