Skip to main content
Version: 0.0.36

Config

The same config parameter as in the CalcGatewayForm component is available in the AccessoryForm too. Information can be found here.

showSelectedBadge​

The showSelectedBadge parameter can be used to toggle the display of the accordion badge for selected accessories.

onWatchlistClick​

A function callback that passes back the accessory id, used by the "watchlist" button in the accessory card.

detailsButton​

The detailsButton object uses following structure:

detailsButton?: {
callback?: (id: number) => void,
useLink?: boolean;
linkPath?: string;
}

callback: same as onWatchlistClick for the "details" button

useLink: if set to true, the "details" button is replaced by an html <a>-Tag, the href/path is provided by the linkPath property.

showPrice​

The optional showPrice property can be used to hide the prices of individual accessories in the AccessoryForm. The default value is true.