discourse/app/assets/javascripts/admin/addon/controllers/admin-badges
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
..
award.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
index.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
show.js FIX: allows to manually remove error for virtual fields (#28555) 2024-08-26 20:32:46 +02:00