mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix: refactoring account form fields with FastField component.
This commit is contained in:
@@ -8,7 +8,7 @@ const Schema = Yup.object().shape({
|
||||
.min(3)
|
||||
.max(DATATYPES_LENGTH.STRING)
|
||||
.label(formatMessage({ id: 'account_name_' })),
|
||||
code: Yup.string().digits().min(3).max(6),
|
||||
code: Yup.string().nullable().min(3).max(6),
|
||||
account_type_id: Yup.number()
|
||||
.nullable()
|
||||
.required()
|
||||
|
||||
Reference in New Issue
Block a user