PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | includes/blocks/form-textarea/attributes.php +11 -6 2.9.1 → 2.14.0 View file →
@@ -9,12 +9,9 @@
9 9 'block_id' => array(
10 10 'type' => 'string',
11 11 'default' => ''
12 12 ),
13 - 'inputWidth' => [
14 - 'type' => 'number',
15 - 'default' => 100
16 - ],
13 +
17 14 'customName' => [
18 15 'type' => 'string',
19 16 'default' => '',
20 17 ],
@@ -25,9 +22,9 @@
25 22 'helperText' => [
26 23 'type' => 'string',
27 24 'default' => '',
28 25 ],
29 - 'inputType' => [
26 + 'nameType' => [
30 27 'type' => 'string',
31 28 'default' => '',
32 29 ],
33 30 'errorMsg' => [
@@ -34,9 +31,9 @@
34 31 'type' => 'string',
35 32 'default' => 'This field is required',
36 33 ],
37 34
38 - 'labelName' => [
35 + 'label' => [
39 36 'type' => 'string',
40 37 'default' => 'Message'
41 38 ],
42 39 'isRequired' => [
@@ -54,8 +51,16 @@
54 51 Range::get_attribute( [
55 52 'attributeName' => 'textAreaRow',
56 53 'isResponsive' => false,
57 54 'defaultValue' => 5,
55 + ] ),
56 + Range::get_attribute( [
57 + 'attributeName' => 'inputWidth',
58 + 'attributeObjectKey' => 'value',
59 + 'isResponsive' => true,
60 + 'defaultValue' => 100,
61 + 'hasUnit' => true,
62 + 'unitDefaultValue' => '%',
58 63 ] ),
59 64 );
60 65
61 66 return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );