- Issue created by @bnjmnm
- πΊπΈUnited States bnjmnm Ann Arbor, MI
Added a test module in the MR and found that the autocomplete inputs (which had been proven to work in the past but never got test coverage) no longer work due to the input now using the Radix TextField
component
. This component intercepts a few props, including className and applies them to the input's parent<div>
instead of the<input/>
and Drupal's autocomplete initializes based on the presence of.form-autocomplete
on an<input/>
element. - πΊπΈUnited States bnjmnm Ann Arbor, MI
Between this issue and π Confirm Semi-coupled form elements can work with State API visibility Active , if we want to continue using Radix we need to have a way to customize the attributes sent to the input elements within the component. I filed an issue with primitives about doing this with
Checkbox
, and if that is welcomed I'll do the same in Radix themes for theTextField
component - πΊπΈUnited States effulgentsia
This is a blocker for β¨ [PP-1] Make link widget autocomplete work (for uri and uri-reference props) Postponed .
- πΊπΈUnited States effulgentsia
If Radix doesn't accept the PR, is there a way we can accomplish it via
ref
? Does Radix already forward refs to the form element we'd want our attributes on?