Open donnapep opened 5 years ago
Some thoughts on this:
The openTextField
and openTextArea
fields have an isRequired
option that it's a boolean, so it's required or not for the whole form. We'll need to iterate on this by making isRequired
a contextual option.
One possibility would be to make isRequired
an array that contains a list of all the primary
, secondary
options for which the field is required.
One possibility would be to make isRequired an array that contains a list of all the primary, secondary options for which the field is required.
That would be great.
The openTextField and openTextArea fields have an isRequired option that it's a boolean, so it's required or not for the whole form. We'll need to iterate on this by making isRequired a contextual option.
This is a workaround I thought too, but system report validation from our API only occurs when it fallbacks to ticket. With that users are able to skip system report when chat is available.
Describe the bug When creating a ticket for Sensei or for any of Sensei's extensions on WooCommerce.com, a Website Status Report field is one of the fields that must be filled out before the ticket can be submitted. However, WooCommerce is not a Sensei dependency, so some of our users have no idea how to fill out that field.
To Reproduce Steps to reproduce the behavior:
Expected behavior The Website Status Report field should not be visible/required for Sensei or any of its extensions on WooCommerce.com.
Screenshots
Desktop (please complete the following information):
Additional context Reported by a user here - https://github.com/Automattic/sensei/issues/2353#issuecomment-443784138