Skip to content

Commit

Permalink
placeHolder should have been placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Sep 19, 2024
1 parent 524c43b commit acfee06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/state/hal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function parseHalField(halField: hal.HalFormsProperty): Field {
value: halField.value,
pattern: halField.regex ? new RegExp(halField.regex) : undefined,
label: halField.prompt,
placeholder: halField.placeHolder,
placeholder: halField.placeholder,
minLength: halField.minLength,
maxLength: halField.maxLength,
};
Expand All @@ -347,7 +347,7 @@ function parseHalField(halField: hal.HalFormsProperty): Field {
readOnly: halField.readOnly || false,
value: halField.value,
label: halField.prompt,
placeholder: halField.placeHolder,
placeholder: halField.placeholder,
};
case 'textarea' :
return {
Expand All @@ -357,7 +357,7 @@ function parseHalField(halField: hal.HalFormsProperty): Field {
readOnly: halField.readOnly || false,
value: halField.value,
label: halField.prompt,
placeholder: halField.placeHolder,
placeholder: halField.placeholder,
cols: halField.cols,
rows: halField.rows,
minLength: halField.minLength,
Expand All @@ -370,7 +370,7 @@ function parseHalField(halField: hal.HalFormsProperty): Field {
required: halField.required || false,
readOnly: halField.readOnly || false,
label: halField.prompt,
placeholder: halField.placeHolder,
placeholder: halField.placeholder,
minLength: halField.minLength,
maxLength: halField.maxLength,
};
Expand Down

0 comments on commit acfee06

Please sign in to comment.