File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ function AddressEdit({
174
174
< TextInput
175
175
mode = "outlined"
176
176
label = "Street"
177
- { ...fh . streetAddress ( 'street' ) }
177
+ { ...fh . streetAddress ( 'street' , { required : true } ) }
178
178
/>
179
179
< TextInput
180
180
mode = "outlined"
Original file line number Diff line number Diff line change 1
1
import type { TranslationsType } from './utils' ;
2
2
3
3
const nl : TranslationsType = {
4
- required : ( params ) => `${ params . label || params . fieldKey } is required ` ,
4
+ required : ( params ) => `${ params . label || params . fieldKey } is verplicht ` ,
5
5
lengtShouldBeLongerThan : ( params ) =>
6
6
`${ params . label || params . fieldKey } moet langer zijn dan ${
7
7
params . requiredLength
Original file line number Diff line number Diff line change @@ -838,7 +838,7 @@ function checkErrorObject(errors: any) {
838
838
for ( let key of keys ) {
839
839
if ( isObject ( errors [ key ] ) ) {
840
840
if ( checkErrorObject ( errors [ key ] ) ) {
841
- return false ;
841
+ return true ;
842
842
}
843
843
} else {
844
844
if ( ! ! errors [ key ] ) {
You can’t perform that action at this time.
0 commit comments