[FAU-423] Use <TextControl>
for duration of studies
#127
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the current behavior? (You can also link to an open issue here)
https://inpsyde.atlassian.net/browse/FAU-423
"Duration of studies in semester" field is a multi-line input (
<TextareaControlFormField>
).What is the new behavior (if this is a feature change)?
"Duration of studies in semester" field is a single-line input (
<TextControl>
).Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No, existing content will be kept.
Before:
![Bildschirmfoto 2024-05-03 um 11 46 20](https://private-user-images.githubusercontent.com/8144115/327717885-2090c79b-7df0-442f-8133-db4b552775fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MDcxODAsIm5iZiI6MTczODkwNjg4MCwicGF0aCI6Ii84MTQ0MTE1LzMyNzcxNzg4NS0yMDkwYzc5Yi03ZGYwLTQ0MmYtODEzMy1kYjRiNTUyNzc1ZmEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMDU0MTIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmUzYzBjNjBlZTI1MmU0OGU0MTBhZTIxYTE5NTNkMjI3YWQxYWZmNDE2NjQwNDQ4ZjYyOTc0M2I2ZWM5NGNiZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.sHkaMyBW-EmNYGM6QqfjVoLN04Wug2aoeyvlRvomCp0)
After:
![Bildschirmfoto 2024-05-03 um 11 48 00](https://private-user-images.githubusercontent.com/8144115/327718267-c5e35335-260e-462e-988e-e9232674c706.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MDcxODAsIm5iZiI6MTczODkwNjg4MCwicGF0aCI6Ii84MTQ0MTE1LzMyNzcxODI2Ny1jNWUzNTMzNS0yNjBlLTQ2MmUtOTg4ZS1lOTIzMjY3NGM3MDYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMDU0MTIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWYwNWY1ZTI4ODBiOTA1ZjljZmY1NzNiNTA2MjVjMDUxMTYyNjUyYWM4NDM3NjdkODdiNTZiZTZkNzIxZjIwMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.6hekd9bihWA-TugpLt1M8YVXInDcAYbBm8VigBZNA1g)
Other information:
There's currently an unrelated error preventing any input (source). However, this shouldn't affect this change (or vice versa).