discourse/app
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
..
assets FIX: allows to manually remove error for virtual fields (#28555) 2024-08-26 20:32:46 +02:00
controllers FEATURE: Allow showing site text search in selected locale (#28453) 2024-08-26 11:25:36 +10:00
helpers UX: Use localized time format in embedded comments (#28014) 2024-07-22 18:42:36 +08:00
jobs DEV: Allow using an AR relation as a model in services 2024-08-20 16:32:46 +02:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models FIX: Add users to user directory on account activation (#28505) 2024-08-26 18:01:24 +03:00
serializers FIX: Return properly interpolated translations for flags 2024-08-26 16:46:30 +02:00
services DEV: Use Service::Base for suspend and silence actions (#28459) 2024-08-22 14:38:56 +03:00
views DEV: Convert account activation pages to use Ember (#28206) 2024-08-12 18:02:00 -03:00