Mulliman / xStatic-for-Umbraco

This is a static site generator built for Umbraco so that you can host simple Umbraco sites on fast and cheap hosting providers such as netlify.
42 stars 12 forks source link

Add client-side validation to the definition forms #22

Closed adam-werner closed 3 months ago

adam-werner commented 1 year ago

In the Site Definition, Action Definition and Export Type Definition forms, submissions without field entries can result in an error.

Site Definition Form

sc-xstatic-site-definition sc-xstatic-site-definition-error

Action Definition Form

sc-xstatic-action-definition sc-xstatic-action-definition-error

Export Type Definition

sc-xstatic-exporttype-definition sc-xstatic-exporttype-definition-error

Possible solution approach

With some angularjs controller updates, form validation can be incorporated there. Alternatively, the corresponding API endpoints being called by the angularjs controllers can return validation messaging errors.

Mulliman commented 3 months ago

xStatic 14 now has much better validation with the UUI refactor.