Add yesy no frop down

This commit is contained in:
CHIEFSOFT\ameye
2025-08-11 11:15:30 -04:00
parent a802c1ca39
commit df6d2b570c
2 changed files with 4 additions and 1 deletions
@@ -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 ={