Problem/Motivation
The problem is that in `Drupal.behaviors.floatingLabels` we are using once on the whole form and then currently present form elements. This will not work if form is loading any form elements later over AJAX because once is already executed on form.
This is also a good opportunity to switch to Drupal once call and remove jQuery dependency.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | floating-label-js-form-ajax-problem-3304161-3.patch | 4.72 KB | pivica |
| #2 | floating-label-js-form-ajax-problem-3304161-2.patch | 4.72 KB | pivica |
Comments
Comment #2
pivica commentedHere is a patch.
Comment #3
pivica commentedAnd for a composer builds here is a patch build on top of #3298746: Floating label width adjustment should set min-width and not width patch.
Comment #4
pivica commentedComment #6
pivica commentedCommitted.