When selling shares, you need to enter the amount of shares you want to sell. This is to prevent you having incorrect orders being placed, if the market moves before your order is executed.

For example, if you have $10,000 of Apple and you want to sell all of them, if the price of Apple goes down, you will have less than $10,000. If it goes up, you will have more than $10,000 to sell.