It is not apparent to the users if the character limit is reached in a field. They can keep entering as there is no limit to the number of characters that can be entered in a field. Only when saving the input text is shortened to the field’s character limit.
Would it be possible to “somehow” warn the user in such cases? or may be there is better solution
The following field “Beginn” is modelled as memo field but the data length is set as 40. The UI allows more than 40 characters to be typed but once saved it truncates the content to 40 characters without any warning to the user. This is tested on Google Chrome.
Looks like the problem here is that the server sends MaxLength="-1" in the property definition in InitUi response. The truncation is done on the server after clicking on “Save”.
Does the server send -1 even thought it is set on 40 in the entity?
Anyway I think the biggest problem is that we allow to limit a length of a “memo” field. That makes no sense. Either it is String and then there is a limit OR it is Memo and then there is no limit.
I propose to make a model check that memo fields can never be limited. @ramagumar does it make sense to you as well?