Skip to content

[Feature]Add the AcceptsReturn property to the RichSuggestBox #4783

Open
@AlexanderBlackman

Description

@AlexanderBlackman

Describe the problem

In the RichEditBox and TextBox control, there is a bool property AcceptsReturn that determines whether pressing enter/return will give a new line.
In the AutoSuggestBox control, enter/return will never give a new line.

The RichSuggestBox on the otherhand, always gives a new line when return is pressed, with no property to change it. This makes it unuseable if you want a one-line box.

Describe the solution

Add a AcceptsReturn property to the RichSuggestBox.

Have the bool default to true so that it keeps the current behaviour of existing apps.

Alternatives

No response

Additional info

No response

Help us help you

Yes, but only if others can assist.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions