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} />
|
<input name={value.name.toLowerCase().replaceAll(" ", "_")} type="text" className="form-control" id={key} value={fields[value.name.toLowerCase().replaceAll(" ", "_")]} onChange={handleChange} />
|
||||||
:value.controls == 'TEXTAREA' ?
|
: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} />
|
<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
|
null
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ const Settings = memo(({productData}) => {
|
|||||||
|
|
||||||
const footerFields ={
|
const footerFields ={
|
||||||
footer_description: { name: 'Footer Description', controls: 'TEXTAREA', active: true },
|
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 ={
|
const aboutFields ={
|
||||||
|
|||||||
Reference in New Issue
Block a user