BiologicalRecordsCentre / SPRING

Repository for tracking issues for the SPRING (EU Pollinator Monitoring) project
GNU General Public License v3.0
0 stars 0 forks source link

Trying to alter Cloud % value on transect walk is submitting form immediately #120

Closed andrewvanbreda closed 8 months ago

andrewvanbreda commented 10 months ago

Try to alter Cloud % value on transect walk is submitting form immediately, results in a message on screen that the submission has been successful. Not occurring on Drupal 9 site.

andrewvanbreda commented 10 months ago

Issue fixed, needed to use core/internal.jquery.form in iform.libraries.yml.

UKBMS and EBMS currently do this, although it means the sites cannot be iForm updated at the moment so this issue is to be left open until better fix is found.

andrewvanbreda commented 8 months ago

Closing. General fix in this commit https://github.com/Indicia-Team/drupal-8-module-iform/commit/b14c358f1b93b38ceb2098767ebf565ea4b8ea7a

(Note this is combined with making sure that the following line is included in the get_form function of any affected form data_entry_helper::add_resource('jquery_form'); I have done this for EBMS/UKBMS/SPRING and also the section_transect forms in indicia_team client_helpers)