Wagtail: JavaScript error when trying to focus on a form element in another tab

Created on 23 Aug 2016  路  3Comments  路  Source: wagtail/wagtail

Dears,
I upgraded to Wagtail 1.6
And I have some page types with multiple tabs in the admin interface which contains mandatory fields
and now I'm facing an issue when trying to publish a page with an empty mandatory fields in other tabs

Old behavior:
Page do submit and the editing form is opened again with a red circle on the tab with the missing info

In 1.6:
JavaScript error in the console saying that:

An invalid form control with name='xxxxxxx' is not focusable.

and the page doesn't submit or publish

Bug

Most helpful comment

Fixed in #2942

Thank for reporting!

All 3 comments

Hi @muhammad-saleh - thanks for the report. What version of Django are you running?

@gasman Django 1.10

Fixed in #2942

Thank for reporting!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

letops picture letops  路  3Comments

spoetnik picture spoetnik  路  3Comments

richbrennan picture richbrennan  路  3Comments

brylie picture brylie  路  3Comments

BertrandBordage picture BertrandBordage  路  3Comments