diff --git a/libs/hpc-ui/src/lib/components/form-fields/async-autocomplete-field.tsx b/libs/hpc-ui/src/lib/components/form-fields/async-autocomplete-field.tsx
index d93d70dd4..ed527a64a 100644
--- a/libs/hpc-ui/src/lib/components/form-fields/async-autocomplete-field.tsx
+++ b/libs/hpc-ui/src/lib/components/form-fields/async-autocomplete-field.tsx
@@ -108,9 +108,9 @@ const AsyncAutocompleteSelect = ({
onClose: () => {
setOpen(false);
},
- open: open,
+ open,
isOptionEqualToValue: (option, value) => option.value === value.value,
- options: options,
+ options,
getOptionLabel: (op) => (typeof op === 'string' ? op : op.displayLabel),
filterSelectedOptions: true,
filterOptions: (x) => x,
@@ -122,7 +122,7 @@ const AsyncAutocompleteSelect = ({
onInputChange: (_, newInputValue) => {
setInputValue(newInputValue);
},
- loading: loading,
+ loading,
renderOption: (props, option) => {
return (
diff --git a/libs/hpc-ui/src/lib/components/form-fields/checkbox.tsx b/libs/hpc-ui/src/lib/components/form-fields/checkbox.tsx
index fbd2e69d2..d673cf779 100644
--- a/libs/hpc-ui/src/lib/components/form-fields/checkbox.tsx
+++ b/libs/hpc-ui/src/lib/components/form-fields/checkbox.tsx
@@ -33,7 +33,7 @@ const CheckBox = ({
const configCheckBox: FormControlLabelProps = {
...field,
...otherProps,
- label: label,
+ label,
id: name,
control: (
{
return {
...params,
- label: label,
- placeholder: placeholder,
+ label,
+ placeholder,
size: 'small',
type: 'text',
InputProps:
diff --git a/libs/hpc-ui/src/lib/components/form-fields/switch.tsx b/libs/hpc-ui/src/lib/components/form-fields/switch.tsx
index 403498104..3863e85a2 100644
--- a/libs/hpc-ui/src/lib/components/form-fields/switch.tsx
+++ b/libs/hpc-ui/src/lib/components/form-fields/switch.tsx
@@ -24,7 +24,7 @@ const Switch = ({
const configCheckBox: FormControlLabelProps = {
...field,
...otherProps,
- label: label,
+ label,
id: name,
control: ,
};
diff --git a/libs/hpc-ui/src/lib/components/form-fields/text-field.tsx b/libs/hpc-ui/src/lib/components/form-fields/text-field.tsx
index b4b770a8c..a9ed3391a 100644
--- a/libs/hpc-ui/src/lib/components/form-fields/text-field.tsx
+++ b/libs/hpc-ui/src/lib/components/form-fields/text-field.tsx
@@ -28,12 +28,12 @@ const TextFieldWrapper = ({
const configTextField: TextFieldProps = {
...field,
...otherProps,
- label: label,
+ label,
id: name,
multiline: textarea,
maxRows: 5,
required,
- placeholder: placeholder,
+ placeholder,
size: 'small',
type: 'text',
};