Skip to content

fix(ArrayField): enable per-field Zod validation and error display fo…

c5d428a
Select commit
Loading
Failed to load commit list.
Open

Feat/components #1

fix(ArrayField): enable per-field Zod validation and error display fo…
c5d428a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 13, 2026 in 36s

Quality Gate failed

Failed conditions
10.8% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 23 in src/components/fields/PasswordField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-qGqBm66zN7gaz&open=AZznyi-qGqBm66zN7gaz&pullRequest=1

Check warning on line 257 in src/components/fields/RangeSliderField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The attribute aria-required is not supported by the role slider. This role is implicit on the element input.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi_LGqBm66zN7gbN&open=AZznyi_LGqBm66zN7gbN&pullRequest=1

Check warning on line 212 in src/components/fields/SelectField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi_bGqBm66zN7gbU&open=AZznyi_bGqBm66zN7gbU&pullRequest=1

Check warning on line 233 in src/components/fields/MultiSelectField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <input list=...>, <input list=...>, <input list=...>, <input list=...>, <input list=...>, <input list=...>, or <select multiple=...> instead of the "combobox" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi_sGqBm66zN7gbh&open=AZznyi_sGqBm66zN7gbh&pullRequest=1

Check warning on line 74 in src/components/fields/DateTimeField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.isNaN` over `isNaN`.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi__GqBm66zN7gbt&open=AZznyi__GqBm66zN7gbt&pullRequest=1

Check warning on line 412 in src/components/fields/TimeField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <option> instead of the "option" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-aGqBm66zN7gau&open=AZznyi-aGqBm66zN7gau&pullRequest=1

Check warning on line 80 in src/components/fields/ArrayField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyjASGqBm66zN7gcI&open=AZznyjASGqBm66zN7gcI&pullRequest=1

Check failure on line 22 in src/core/schema-helpers.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyjCjGqBm66zN7gc5&open=AZznyjCjGqBm66zN7gc5&pullRequest=1

Check warning on line 125 in src/components/fields/TimeField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-aGqBm66zN7gae&open=AZznyi-aGqBm66zN7gae&pullRequest=1

Check warning on line 106 in src/components/fields/MultiSelectField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi_sGqBm66zN7gbg&open=AZznyi_sGqBm66zN7gbg&pullRequest=1

Check failure on line 41 in src/core/__tests__/validator.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Review this potentially hard-coded password.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyjCKGqBm66zN7gc1&open=AZznyjCKGqBm66zN7gc1&pullRequest=1

Check warning on line 365 in src/components/fields/TimeField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <select size=...>, <select multiple=...>, or <datalist> instead of the "listbox" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-aGqBm66zN7gan&open=AZznyi-aGqBm66zN7gan&pullRequest=1

Check warning on line 361 in src/components/fields/TimeField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Non-interactive elements should not be assigned interactive roles.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-aGqBm66zN7gao&open=AZznyi-aGqBm66zN7gao&pullRequest=1

Check warning on line 37 in src/components/layout/FormSection.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyjAqGqBm66zN7gch&open=AZznyjAqGqBm66zN7gch&pullRequest=1

Check warning on line 404 in src/components/fields/TimeField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Non-interactive elements should not be assigned interactive roles.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-aGqBm66zN7gaw&open=AZznyi-aGqBm66zN7gaw&pullRequest=1

Check warning on line 74 in src/components/fields/ArrayField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyjASGqBm66zN7gcH&open=AZznyjASGqBm66zN7gcH&pullRequest=1

Check warning on line 22 in src/components/fields/RadioGroupField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi_SGqBm66zN7gbO&open=AZznyi_SGqBm66zN7gbO&pullRequest=1

Check failure on line 22 in src/locales/en.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Review this potentially hard-coded password.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyjDEGqBm66zN7gc-&open=AZznyjDEGqBm66zN7gc-&pullRequest=1

Check warning on line 56 in src/components/fields/TextareaField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'value ?? ''' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi5aGqBm66zN7gaO&open=AZznyi5aGqBm66zN7gaO&pullRequest=1

Check warning on line 397 in src/components/fields/MultiSelectField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <select size=...>, <select multiple=...>, or <datalist> instead of the "listbox" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi_sGqBm66zN7gbj&open=AZznyi_sGqBm66zN7gbj&pullRequest=1

Check warning on line 45 in src/components/fields/Field.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi_0GqBm66zN7gbo&open=AZznyi_0GqBm66zN7gbo&pullRequest=1

Check warning on line 28 in src/components/form/FormStepper.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyjBoGqBm66zN7gcn&open=AZznyjBoGqBm66zN7gcn&pullRequest=1

Check warning on line 371 in src/components/fields/TimeField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Non-interactive elements should not be assigned interactive roles.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-aGqBm66zN7gar&open=AZznyi-aGqBm66zN7gar&pullRequest=1

Check warning on line 15 in src/components/fields/__tests__/RangeSliderField.test.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use an object literal as default for parameter `defaultValue`.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-JGqBm66zN7gaX&open=AZznyi-JGqBm66zN7gaX&pullRequest=1

Check warning on line 87 in src/components/fields/SwitchField.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.

See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_FormKit-UI&issues=AZznyi-yGqBm66zN7ga3&open=AZznyi-yGqBm66zN7ga3&pullRequest=1