discourse/app/assets/javascripts/admin/addon
Joffrey JAFFEUX 27f08a5c28
FIX: allows to manually remove error for virtual fields (#28555)
In FormKit you can add error on an existing field existing in the DOM, but you can also set an arbitrary error on a virtual field not existing in the DOM.

When revalidating existing data, we are only resetting real fields. This commit adds `removeError(name)` to allow you to manually manage virtual fields. `removeError` is available in the same helpers where `addError` is available.

<!-- NOTE: All pull requests should have tests (rspec in Ruby, qunit in JavaScript). If your code does not include test coverage, please include an explanation of why it was omitted. -->
2024-08-26 20:32:46 +02:00
..
adapters FEATURE: Add Filter for Webhook Events by Status (#27332) 2024-06-07 10:26:00 -05:00
components FIX: prevents exception when showing replacements (#28543) 2024-08-26 11:37:12 +02:00
controllers FIX: allows to manually remove error for virtual fields (#28555) 2024-08-26 20:32:46 +02:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Convert admin charts to glimmer/gjs (#28271) 2024-08-23 14:59:56 +02:00
mixins FIX: Make cancel and reset buttons work for file_size_restriction settings (#28347) 2024-08-15 19:38:47 +03:00
models FEATURE: Always show full page "New Features" to admins (#28383) 2024-08-16 09:12:24 +10:00
routes FEATURE: Allow showing site text search in selected locale (#28453) 2024-08-26 11:25:36 +10:00
services FIX: More header dropdown admin sidebar fixes (#27241) 2024-05-30 12:55:25 +10:00
templates FEATURE: Allow showing site text search in selected locale (#28453) 2024-08-26 11:25:36 +10:00