Add yesy no frop down
This commit is contained in:
@@ -77,7 +77,9 @@ const GeneralTab = memo(({name='Full Name', data, isCustom, productData, backend
|
||||
<input name={value.name.toLowerCase().replaceAll(" ", "_")} type="text" className="form-control" id={key} value={fields[value.name.toLowerCase().replaceAll(" ", "_")]} onChange={handleChange} />
|
||||
:value.controls == 'TEXTAREA' ?
|
||||
<textarea name={value.name.toLowerCase().replaceAll(" ", "_")} rows={5} style={{resize: 'none'}} type="text" className="form-control" id={key} value={fields[value.name.toLowerCase().replaceAll(" ", "_")]} onChange={handleChange} />
|
||||
:
|
||||
: value.controls == 'SELECT_NO_YES' ?
|
||||
<>This will be a drop down yes no</>
|
||||
:
|
||||
null
|
||||
}
|
||||
</div>
|
||||
|
||||
@@ -30,6 +30,7 @@ const Settings = memo(({productData}) => {
|
||||
|
||||
const footerFields ={
|
||||
footer_description: { name: 'Footer Description', controls: 'TEXTAREA', active: true },
|
||||
boolean_footer_show_email: { name: 'Show email in footer', controls: 'SELECT_NO_YES', active: true },
|
||||
}
|
||||
|
||||
const aboutFields ={
|
||||
|
||||
Reference in New Issue
Block a user