Validation of controlled Select

Hi there,

I am using Custom UI with Atlaskit and I am having problem with validating controller Select:

<Field<Value<Option, false>>
                                        aria-required={true}
                                        isRequired
                                        name={`jiraProject[${index}]`}
                                        label="Select a Jira Project, note: ONLY 'company-managed projects' are displaying"

                                    >
                                        {({fieldProps: {id, ...rest}, error}) => (
                                            <Fragment>
                                                <Select
                                                    inputId={id}
                                                    {...rest}
                                                    options={jiraProjectsOptions}
                                                    isSearchable
                                                    value={jiraProjectsSelected[index]}
                                                    onChange={async project => {
                                                        setJiraProjectsSelected({
                                                            ...jiraProjectsSelected,
                                                            [index]: project
                                                        });
                                                        await loadIssuesAndTransitionsByProjectKey(project.value, index);
                                                    }}

                                                />
                                                {error &&
                                                    <ErrorMessage>{errorMessage.JIRA_PROJECT_EMPTY}</ErrorMessage>}
                                            </Fragment>
                                        )}
                                    </Field>

problem is that on first render value is undefined.
How to handle this?

Thank you