Closed YBTopaz8 closed 1 year ago
It's released in 4.2.2
. You can upgrade InputKit in your app until UraniumUI is updated. If it's not installed, you can add reference in your app's .csproj file until UraniumUI releases a new version with the latest Inputkit version
Understood, thanks a lot!. I updated immediately after seeing your comment, but after that, my Project couldn't build anymore, due to an error with validation as you may see here:
I thought maybe you had updated the docs on how to add validations, but apparently not . I even cleaned the project and rebuilt but still, no avail.
I decided to rollback to v4.2.1 just to see, and it still works well.
Perhaps I am doing something wrong? If so, then I'd appreciate your guidance !
It shouldn't be conflicted.
UraniumUI is just released with the new version, you can remove inputkit dependency and update only uraniumui packages at the moment
Oh dear sir, I apologize for raising so many issues, but I have some findings;
After I updated from UraniumUI 2.2.1 -> 2.2.2
, I COULD not update InputKit from 4.2.1 -> 4.2.2
. ( I even tried cleaning build)
So, I DELETED InputKit completely from my project and then updated from UraniumUI 2.2.1 -> 2.2.2
. (and cleaned build)
The Issue was :
The FormView does not perform any validations AND does not perform the SubmitCommand.
I tried with a simple, sample code just to test here:
When I clicked on the button
, nothing happens, no validation check, no running of RelayCommand, same for when I click on ImageButton
.
So, I TRIED Reinstalling InputKit v4.2.2
from Nuget, cleaned build and rebuilt.
That is when I noticed sometime interesting:
FormView.IsSubmitButton
and SubmitCommand
now work on ImageButton
. In fact it even works with a simple Label
FormView.IsSubmitButton
does NOT work with Button
any more.
Here is a short video of the code from my project and a demo in the android emulator:
Describe the bug
FormView.IsSubmitButton
doesn't seem to work onImageButton
. ON .NET MAUI There seems to be an issue withImageButton
control inside a FormView where doesn't seem to work. But it works just fine with aButton
control. I even tried with 2 Buttons in the same FormView and they BOTH work as SubmitButton. But again,ImageButton
doesn't seem to work as such.To Reproduce Steps to reproduce the behavior:
FormView
TextField
RequiredValidation
on the textfieldImageButton
and aButton
control.FormView.IsSubmitButton="True"
on both controlsExpected behavior Upon clicking
ImageButton
Control, the FormView should perform a validation check, similar to the wayButton
control does.Video
https://user-images.githubusercontent.com/41630728/211306971-d22a3c89-8234-42a8-a040-0e1315e6c919.mp4
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here. A screenshot of my code: