← All changes
|
modules/atomic-widgets/elements/atomic-form/atomic-form.php
+0
-5
4.1.5
→
4.1.0-beta1
View file →
| @@ -79,12 +79,8 @@ | ||
| 79 | 79 | public function get_icon() { |
| 80 | 80 | return 'eicon-atomic-form'; |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - public static function get_base_props_schema(): array { | |
| 84 | - return self::define_props_schema(); | |
| 85 | - } | |
| 86 | - | |
| 87 | 83 | protected static function define_props_schema(): array { |
| 88 | 84 | $email_dependencies = Dependency_Manager::make() |
| 89 | 85 | ->where( [ |
| 90 | 86 | 'operator' => 'contains', |
| @@ -371,9 +367,8 @@ | ||
| 371 | 367 | ? Form_Success_Message::get_element_type() |
| 372 | 368 | : Form_Error_Message::get_element_type(); |
| 373 | 369 | |
| 374 | 370 | return Element_Builder::make( $element_type ) |
| 375 | - ->meta( [ 'required' => true ] ) | |
| 376 | 371 | ->settings( [ |
| 377 | 372 | 'attributes' => Attributes_Prop_Type::generate( [ |
| 378 | 373 | Key_Value_Prop_Type::generate( [] ), |
| 379 | 374 | ] ), |