This change affects all implementations of the text box component.
Added the following parameters to the turas-text-box Tag Helper:
These options are opt-in. Existing text box implementations continue to use the default text input type unless input-type or input-mode is explicitly specified.
<turas-text-box
asp-for="ChiNumberToLookupWithInputMode"
input-type="number"
input-mode="numeric"
/>
<input
...
type="number"
inputmode="numeric"
...
/>
This change provides greater flexibility when implementing the text box component by allowing consuming applications to specify the HTML input type and inputmode where appropriate.
Benefits include:
The new input-type and input-mode options should be used where there is a clear requirement for the corresponding native browser or mobile keyboard behaviour.
After updating your Design System packages, we recommend reviewing text box components in your application to confirm everything behaves as expected.
No changes are expected to form submission, model binding or data persistence as part of this update.
As part of your application checks, we recommend confirming that text box values continue to submit, bind and save as expected.
This change adds input-type and input-mode options to the text box Tag Helper, providing greater flexibility over the generated HTML input and mobile keyboard behaviour.
Existing text box implementations are not expected to be affected, but consuming teams should perform the recommended checks after updating their Design System packages.
Design System internal reference: 99410