Files
ubicloud/views/components/form/textarea.erb
Jeremy Evans 0f2e3bc673 Remove error handling for textarea view
We have nothing that sets an error for textareas.  The current
textareas in Clover:

* Vm creation form: Marked as required, so browser won't submit
  the form without the field being filled out, but if a user
  can remove the required flag to work around that.  If we want
  to enforce that Vms have public keys, we can do that, but it
  currently breaks a number of tests, and there is little point
  to validating only that the field is not empty.

* Inference playground: Form doesn't submit normally, it's
  managed with javascript, so form never renders with errors.

* Billing form: Uses Stripe, all Stripe errors result in a
  redirect with a flash error being set, but no field errors
  being set, and all changes made to the form being lost.

If we ever have a textarea that needs error handling, it's fine
to revert this.

After changes:

Line Coverage: 99.88% (11705 / 11719)
Branch Coverage: 98.57% (3097 / 3142)
2025-01-14 09:04:22 -08:00

831 B