- Some UI changes based on review comments. - Fix the numeric type.

This commit is contained in:
Aditya Toshniwal
2021-07-20 18:26:20 +05:30
committed by Akshay Joshi
parent 453f26817a
commit 5db72a6916
4 changed files with 63 additions and 18 deletions

View File

@@ -781,9 +781,6 @@ export function InputColor({value, controlProps, disabled, onChange, currObj}) {
let btnStyles = {backgroundColor: value};
return (
// <Button variant="contained" ref={eleRef} className={classes.colorBtn} style={btnStyles} disabled={pickrOptions.disabled}>
// {(_.isUndefined(value) || _.isNull(value) || value === '') && <CloseIcon />}
// </Button>
<PgIconButton ref={eleRef} title={gettext('Select the color')} className={classes.colorBtn} style={btnStyles} disabled={pickrOptions.disabled}
icon={(_.isUndefined(value) || _.isNull(value) || value === '') && <CloseIcon />}
/>