AD0-E716 · Question #29
An Adobe Commerce developer wants to create a product EAV attribute programmatically which should appear as WYSIWYG in the admin panel. They have made sure that wysiwyg_enabled has been set to true…
The correct answer is C. The input type is not set to textarea. The input_type attribute of a product EAV attribute specifies the type of input field that will be used to enter the value of the attribute in the admin panel. The textarea input type is used for WYSIWYG fields. If the input_type attribute is not set to textarea, then the…
Question
An Adobe Commerce developer wants to create a product EAV attribute programmatically which should appear as WYSIWYG in the admin panel. They have made sure that wysiwyg_enabled has been set to true, however, the attribute is not appearing as WYSIWYG in the admin panel. What would be a possible reason?
Options
- AThe is_html_allowed_on_front Option iS Set tO false.
- BThe input type is not set to text.
- CThe input type is not set to textarea.
How the community answered
(30 responses)- A7% (2)
- B3% (1)
- C90% (27)
Explanation
The input_type attribute of a product EAV attribute specifies the type of input field that will be used to enter the value of the attribute in the admin panel. The textarea input type is used for WYSIWYG fields. If the input_type attribute is not set to textarea, then the attribute will not appear as WYSIWYG in the admin panel. To fix this, the developer should set the input_type attribute to textarea.
Topics
Community Discussion
No community discussion yet for this question.