inherit class attributes based on selected option - Filament