TextInput: Fix min/max input attributes for multiple range rules.

This fixes generated min/max input attributes in case there are more range rules on the input - a typical example is rule with static values and another one with dynamic values.