Openbravo Issue Tracking System - POS2
View Issue Details
0051764POS2POSpublic2023-03-02 16:552023-03-02 16:55
migueldejuana 
Triage Platform Base 
normaltrivialalways
newopen 
5
 
 
No
0051764: BaseButtonGroup must use StandardButton instead of BaseButton
BaseButtonGroup is using BaseButton and therefore it has not some of the css features shared by all buttons that are defined in StandardButton.
n/a
      <BaseButton
        key={`obc2BaseButtonGroupOption_${currentElementValue}`}
        testId={`obc2BaseButtonGroupOption_${currentElementValue}`}
        variantClass={`${variantClass} ${
          currentElementValue === value ? 'selected' : ''
        } ${icon ? 'withIcon' : ''}`}
        disabled={disabled}
        events={() => ({ onLeftClick: () => onChange(currentElementValue) })}
      >
        <BaseContent icon={icon} label={label} />
      </BaseButton>
    );


--->

      <StandardButton
        key={`obc2BaseButtonGroupOption_${currentElementValue}`}
        testId={`obc2BaseButtonGroupOption_${currentElementValue}`}
        icon={icon}
        label={label}
        variantClass={`${variantClass} ${
          currentElementValue === value ? 'selected' : ''
        } ${icon ? 'withIcon' : ''}`}
        disabled={disabled}
        events={() => ({ onLeftClick: () => onChange(currentElementValue) })}
      />
No tags attached.
Issue History
2023-03-02 16:55migueldejuanaNew Issue
2023-03-02 16:55migueldejuanaAssigned To => Triage Platform Base
2023-03-02 16:55migueldejuanaTriggers an Emergency Pack => No

There are no notes attached to this issue.