Update BA code description and validation message to describe the letter as optional
This commit is contained in:
parent
68206307fd
commit
5fd1dac257
@ -122,7 +122,7 @@ class BaseFinancialForm(ValidatedForm):
|
||||
|
||||
ba_code = StringField(
|
||||
"Program Budget Activity (BA) Code (Optional)",
|
||||
description="BA Code is used to identify the purposes, projects, or types of activities financed by the appropriation fund. <br/><em>It should be two digits, followed by a letter.</em>",
|
||||
description="BA Code is used to identify the purposes, projects, or types of activities financed by the appropriation fund. <br/><em>It should be two digits, followed by an optional letter.</em>",
|
||||
validators=[Regexp(BA_CODE_REGEX)],
|
||||
)
|
||||
|
||||
|
@ -77,7 +77,7 @@ export default {
|
||||
},
|
||||
match: /[0-9]{2}\w?$/,
|
||||
unmask: [],
|
||||
validationError: 'Please enter a valid BA Code. Note that it should be two digits, followed by a letter.'
|
||||
validationError: 'Please enter a valid BA Code. Note that it should be two digits, followed by an optional letter.'
|
||||
},
|
||||
workspaceName: {
|
||||
mask: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user