fix: input component style in routing forms (#6731)

* fix: remove custom className

* removed extra type text

removed extra type text from input

---------

Co-authored-by: alannnc <alannnc@gmail.com>
pull/6660/head
Nafees Nazik 2023-02-01 07:09:29 +05:30 committed by GitHub
parent 48d0edeaf4
commit 17eb45b0b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -117,7 +117,6 @@ function Field({
<TextField
disabled={!!router}
label="Label"
type="text"
placeholder="This is what your users would see"
/**
* This is a bit of a hack to make sure that for routerField, label is shown from there.
@ -126,7 +125,6 @@ function Field({
defaultValue={routerField?.label}
required
{...hookForm.register(`${hookFieldNamespace}.label`)}
className="block w-full rounded-sm border-gray-300 text-sm"
/>
</div>
<div className="mb-6 w-full">
@ -139,7 +137,6 @@ function Field({
value={identifier}
defaultValue={routerField?.identifier || routerField?.label}
onChange={(e) => setUserChangedIdentifier(e.target.value)}
className="block w-full rounded-sm border-gray-300 text-sm"
/>
</div>
<div className="mb-6 w-full ">