-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: i can't send data to api and get data value #224
Comments
Thank you for creating this @the-best-is-best At the moment we cannot pass values from values dynamically and recreate an API payload, though it is under process and very soon it will get released in the next version of Mirai. At the moment requesting a response from the server using MiraiRequest is only possible with statically defined defines values in the JSON like this:
|
i want send data user name and password after user added it so how can get value from form and get error to display or new page to go |
Greetings @the-best-is-best Since taking the value from the form-fields (text-fields) is under the build process, the existing stable version of Mirai unfortunately cannot support this, although there is always a workaround we do not recommend this because in the next release, we are going to push major updates in this regard, including form-values and calling an API. Workaround: Create a custom parser just like any action parsers in MIrai let's say,
Now pass this
|
@the-best-is-best Please keep an eye to this PR #213 |
Please don't forget to check the Mirai parsers from here -> Parsers |
MiraiFormCubit not found i can't access it or import it |
@the-best-is-best #228 should fix this. |
Hey everyone, This feature is currently a work in progress (See #213). This will be released in the upcoming v0.6. Until then kindly wait. |
until now don't understand how make button call request with data and re render new ui |
I can't send the value text form field and get the result can help me or solve that
thanks
The text was updated successfully, but these errors were encountered: