SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.95k stars 1.24k forks source link

sap.m.MaskInput missing events liveChange, submit #1742

Closed jobberwalker closed 1 year ago

jobberwalker commented 6 years ago

hello,

It's an proposition of enhancement to add events like liveChange & submit to sap.m.MaskInput.

Best Regards, JB

JumpNRun commented 6 years ago

Hello,

Thanks for your enhancement proposal! I have forwarded the proposal internally to the responsible team. Any news will be posted here.

Best regards, Alexander

Jitterer commented 3 years ago

Hi, liveChange is still missing. BR

JumpNRun commented 3 years ago

Sorry for the long-lasting silence. Let's try it with a new process. I've created an internal incident 2070345586. I can't tell you when there will be news, but as soon as there are any, you will be updated here in GitHub.

unazko commented 3 years ago

Hi @jobberwalker,

Thank you for your proposal.

Here is a reference to the sap.m.MaskInput user experience guidelines: https://ux.wdf.sap.corp/fiori-design-web/generic-mask-input/

Basically the sap.m.MaskInput control is used to "govern what a user is allowed to enter in an input field". This would mean that the user is not allowed to enter invalid data in the input field.

Proposition for liveChange event:

Proposition for submit event:

Your input will be greatly appreciated, Boyan

Jitterer commented 3 years ago

Hi @unazko,

I can give you an example for what I want to use it: on every input change, I'm calling a REST API and if the REST API response with a wanted match, I want to do some tasks (like making flexbox visible or something similar).

I want to check this for every keystroke, not after focussing out of the maskinput.

BR

azlekov commented 3 years ago

Hey @unazko

We are having the same issue. Our use case is to control the wizard page validation or when to show or hide the next button. Once the user fill MaskInput or other Input field. Currently is not possible with the MaskInput :(

Best regards, Asen

kevinbalboni commented 2 years ago

Hello @unazko @JumpNRun,

We are having the same issue. In our case we want to validate the data during liveChange event.

Thanks BK

petyabegovska commented 2 years ago

Feature is approved. Implementation will be planned according to team priorities. BI created: FIORITECHP1-18508

petyabegovska commented 1 year ago

Hello,

liveChange event is available since UI5 version 1.104.0: https://openui5nightly.hana.ondemand.com/api/sap.m.MaskInput#events/liveChange

Best regards, Petya

flovogt commented 1 year ago

Fixed with 72fdbf4f8ab01e16801854d8543dc4796e187bb7