TextField: Currently, error icon's container is always present, occupying fixed amount of space at the end of the input. This is especially visible in case of type='number', where up and down arrows are always moved to the left. This commit fixes the issue by displaying error icon's container only if hasError property is set to true.
Select: Use isDisabled property to disable the component, as other components do.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
This pull request consists of 2 commits:
Types of changes
Checklist: