Georgy Kovalenko
Georgy Kovalenko
Обновил. JS кода много, хранить и редактировать его просто в строке не очень комфортно. Вынес в отдельный файл. К проблеме с кнопками поменял подход. Теперь кнопки «Вперёл» и «Назад» в...
https://t.me/BATC0H
I made a [sandbox with an example](https://codesandbox.io/s/final-form-example919-dqyyw?file=/src/App.js), and it seems to work fine. @Maxim1905 can you provide a minimal reproducible sandbox or repo with the error you are facing? It's...
It's hard to say what might be wrong without seeing more code, but is it possible that your decorators are declared inside a component that contains ``? Functions declared inside...
Another approach is to use some field as container for your custom option: ```javascript const handleSubmit = async ({ action, ...values }, form) => { if (action === "delete") {...
@shulcsm I think it safe enough, I use it in production. `onSubmit` fires only after `onClick` handler is done and only if click event is not prevented by `event.preventDefault`. [`FormAPI.change`](https://github.com/final-form/final-form/blob/5bff3517ebfd57582319cde26268cd5f60964faf/src/FinalForm.js#L698)...
@chaiwa-berian I personally use [final-form-submit-listener](https://github.com/final-form/final-form-submit-listener) to make something in separate handler after submit succeeded. And I still can check for "action" (or any other field) value in this handler via...
Да, работает, похоже Яндекс сделал поддержку MediaSession на своей стороне)
My current workaround is to add an explict type annotation: ```typescript import React, { FC } from 'react'; import { Button, ButtonProps } from 'react-bootstrap'; import styled from 'styled-components'; const...