function FormField::isDisabled
Check if the current field is disabled.
2 calls to FormField::isDisabled()
- ChoiceFormField::isDisabled in vendor/
symfony/ dom-crawler/ Field/ ChoiceFormField.php - Check if the current selected option is disabled.
- ChoiceFormField::isDisabled in vendor/
symfony/ dom-crawler/ Field/ ChoiceFormField.php - Check if the current selected option is disabled.
1 method overrides FormField::isDisabled()
- ChoiceFormField::isDisabled in vendor/
symfony/ dom-crawler/ Field/ ChoiceFormField.php - Check if the current selected option is disabled.
File
-
vendor/
symfony/ dom-crawler/ Field/ FormField.php, line 93
Class
- FormField
- FormField is the abstract class for all form fields.
Namespace
Symfony\Component\DomCrawler\FieldCode
public function isDisabled() : bool {
return $this->node
->hasAttribute('disabled');
}