File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ const FormFieldRenderer = (props) => {
5959 as = "textarea"
6060 name = { fieldData . name }
6161 value = { value }
62+ placeholder = { fieldData . placeholder }
6263 aria-invalid = { isRequired && Boolean ( errorMessage ) }
6364 onChange = { ( e ) => onChangeHandler ( e ) }
6465 floatingLabel = { fieldData . label }
@@ -81,6 +82,7 @@ const FormFieldRenderer = (props) => {
8182 className = { className }
8283 name = { fieldData . name }
8384 value = { value }
85+ placeholder = { fieldData . placeholder }
8486 aria-invalid = { isRequired && Boolean ( errorMessage ) }
8587 onChange = { ( e ) => onChangeHandler ( e ) }
8688 floatingLabel = { fieldData . label }
@@ -142,6 +144,7 @@ FormFieldRenderer.propTypes = {
142144 type : PropTypes . string ,
143145 label : PropTypes . string ,
144146 name : PropTypes . string ,
147+ placeholder : PropTypes . string ,
145148 options : PropTypes . arrayOf ( PropTypes . arrayOf ( PropTypes . string ) ) ,
146149 } ) . isRequired ,
147150 onChangeHandler : PropTypes . func . isRequired ,
You can’t perform that action at this time.
0 commit comments