We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32c5a61 commit 9ea4eedCopy full SHA for 9ea4eed
1 file changed
client/src/components/Record.jsx
@@ -220,7 +220,8 @@ export default function Record() {
220
required
221
className="block w-full rounded-md border-0 py-1.5 pl-1 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:[...]
222
placeholder="Company ID Number"
223
- value={form.companyId}
+ {/* value={form.companyId} */}
224
+ value={loggedIn && userState.user ? String(userState.user.companyId) : form.companyId}
225
onChange={(e) => updateForm({ companyId: e.target.value })}
226
/>
227
</div>
0 commit comments