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
parent
48d0edeaf4
commit
17eb45b0b6
|
@ -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 ">
|
||||
|
|
Loading…
Reference in New Issue