- Issue created by @rhovland
- πΊπΈUnited States rhovland Oregon
This can probably be resolved by namespacing the form element name to something like "rate_rating"
- Merge request !36Change the name of the rating form element and template to prevent collisions β (Open) created by rhovland
- πΊπΈUnited States rhovland Oregon
Hmm nope that just breaks the widget. I didn't dig very deep into how the module works. Need to do more work
- πΊπΈUnited States rhovland Oregon
Ok this is working now. Tests pass, and a manual test works too. And no more misapplied template.
There is one phpstan error, which seems unrelated to the changes made.
tests/src/Kernel/migrate/RateWidgetMigrationTest.php* @covers \Drupal\rate\Plugin\migrate\source\RateWidgetTypes * @covers \Drupal\rate\Plugin\migrate\source\RateWidgetOptions
Saying this is an invalid class, which makes sense because those files don't exist anymore. Seems to be a project level error. Maybe phpstan rules updated?