You need to sign in to do that
Don't have an account?
Achyuth
Input field is returning the records without entering the value on submit and that is not the case?
Hi All,
i have an apex controller on account object and passing one parameter there.
In salesforce lightning, i used ui:inputtext for input field and is working fine,
the issue is:- when i am not entering any value and pressing on enter, it is giving the records.. that is the issue i have,,
i tried to make that field mandatory by putting required=true, but not working
Can anyone pls help on this!!
Thanks,
Chinna.
i have an apex controller on account object and passing one parameter there.
In salesforce lightning, i used ui:inputtext for input field and is working fine,
the issue is:- when i am not entering any value and pressing on enter, it is giving the records.. that is the issue i have,,
i tried to make that field mandatory by putting required=true, but not working
Can anyone pls help on this!!
Thanks,
Chinna.
You can use lightning:input in place of ui:inputtext in which you can use required=true.
My logic should work with both , clicking on enter and submit button.. i need to use onkey which is not working in lightning:input ... so i used ui:inputtext