components icon indicating copy to clipboard operation
components copied to clipboard

[Feature Request]: Explicitly Submit Custom Property Filter Form

Open PeterBurner opened this issue 8 months ago • 1 comments

Description

The property filter component allows for defining custom forms for filter input. To my knowledge there is no way of programmatically submitting these forms since the form actions (submit/cancel) and the form itself are outside of the customizable JSX.

I would like to be able to submit/apply the custom filter by pressing Enter key from within an input field. It seems for some Cloudscape inputs this already works (e.g. DatePicker), but not for all. Especially not the standard Input component.

It would be great, if the PropertyFilterOperatorFormProps contained a submit function besides the onChange function. This would allow anyone to for example add a keydown listener to an input field and trigger the submit on Enter.

Code of Conduct

PeterBurner avatar Jun 06 '25 14:06 PeterBurner

Thanks for the report, I added this to our backlog for prioritization.

Internal tracking id: AWSUI-60879

just-boris avatar Jun 10 '25 10:06 just-boris