A component for show error with glorious form structure of useGloriousFetch error handling
Simple example for GErrorText
title is required
const gs = GloriousStore()
gs.formCreate('post')
gs.forms.post.errors = { title: ['title is required'] }
<GErrorText error="post|title" />
Prop | Type | Default |
---|---|---|
error | string | | |