How does the income tax slab allow excemption work?

I want to make it optional when creating a salary structure, but it gives an error when i dont include income tax slab