saleor-dashboard/locale
Wojciech Mista a5ac6bb92e
Exit form fixes (#1889)
* Add onBeforeUnload handler to prevent accidental refresh

* Update button messages

* Fix exit form not working after submit

* Make onBeforeUnload disable if env is development

* Fix onClose

* Remove internal date time field state

* Update messages and dialog

* Prevent navigation on 400 error

* Add submit disabled ref in exit form

* Update exit form dialog for disabled save

* Update confirmLeave forms to set ref if save is disabled

* Remove unused error handling

* Remove explicit ref type

* Remove unused import

* Fix disabled type

* Add disable check function to generic forms

* Add custom isDisabled method to sale and voucher forms

* Add default isDisabled functions to confirmLeave forms

* Update tests

* Remove unused code

* Rebase fixes + update tests

* Refactor form and useform

* Refactor disabling forms

* Change "saveDisabled" name to "isSaveDisabled" for improved readability

* Change "isDisabled" function to "checkIfSaveIsDisabled"

* Update exit form disabling conditions for zone rates forms
2022-03-23 10:13:23 +01:00
..
ar.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
az.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
bg.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
bn.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
ca.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
cs.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
da.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
de.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
defaultMessages.json Exit form fixes (#1889) 2022-03-23 10:13:23 +01:00
el.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
es.json Drop authorization keys section (#913) 2020-12-21 13:50:04 +01:00
es_CO.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
et.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
fa.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
fr.json Drop authorization keys section (#913) 2020-12-21 13:50:04 +01:00
hi.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
hu.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
hy.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
id.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
is.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
it.json Drop authorization keys section (#913) 2020-12-21 13:50:04 +01:00
ja.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
ko.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
mn.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
nb.json Drop authorization keys section (#913) 2020-12-21 13:50:04 +01:00
nl.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
pl.json Fix crashes (#1216) 2021-07-07 09:59:08 +02:00
pt.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
pt_BR.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
ro.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
ru.json Drop authorization keys section (#913) 2020-12-21 13:50:04 +01:00
sk.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
sl.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
sq.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
sr.json Drop authorization keys section (#913) 2020-12-21 13:50:04 +01:00
sv.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
th.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
tr.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
uk.json Drop authorization keys section (#913) 2020-12-21 13:50:04 +01:00
vi.json Drop authorization keys section (#913) 2020-12-21 13:50:04 +01:00
zh-Hans.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
zh-Hant.json Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00