Open Bug 1761678 Opened 4 years ago Updated 11 months ago

Possibility to turn off required and pattern form validation in Devtools

Categories

(DevTools :: General, enhancement, P3)

Firefox 98
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: ddpm, Unassigned)

Details

Steps to reproduce:

Is there a toggle or setting in Devtools (or even about:config) to turn off considering the required and pattern attributes in form input elements?

The introduction of these attributes allows more userfriendly form input feedback just by setting these attributes in the form markup, but it masks the always too necessary serverside validation of a web application.

For quick checking sending constructed invalid forms to the server it would be nice to turn these clientside validations off in the Devtools.

Actual results:

It is harder to do adhoc testing serverside validation. A workaround is to edit and remove required and pattern attributes within the Devtools to send an invalidly filled form.

Expected results:

1 or 2 buttons to temporarly disable checking of required and pattern attribute validation in the Devtools. (prefered)

Alternatively a setting in about:config

The Bugbug bot thinks this bug should belong to the 'DevTools::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → DevTools
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.