diff --git a/cypress/integration/mon-entreprise/simulateurs.js b/cypress/integration/mon-entreprise/simulateurs.js index a139c41f2..b21152345 100644 --- a/cypress/integration/mon-entreprise/simulateurs.js +++ b/cypress/integration/mon-entreprise/simulateurs.js @@ -91,7 +91,7 @@ describe('Simulateurs', function() { cy.contains('Passer').click() cy.contains('Début 2020').click() cy.contains('Suivant').click() - cy.contains('Acre') + cy.contains('ACRE') }) } }) diff --git a/source/engine/RuleInput.tsx b/source/engine/RuleInput.tsx index 67a2baa32..566cde769 100644 --- a/source/engine/RuleInput.tsx +++ b/source/engine/RuleInput.tsx @@ -105,7 +105,7 @@ export default function InputComponent({ {...commonProps} language={language} debounce={600} - value={value} + value={value as string} name={dottedName} className="targetInput" onChange={evt => onChange(evt.target.value)}