Fix domain attribution field having autocorrect and autocapitalize enabled (#32903)

This commit is contained in:
Claire 2024-11-15 14:37:45 +01:00 committed by GitHub
parent c546aa57cb
commit 0838cf1e05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,7 +65,7 @@
%p.lead= t('author_attribution.then_instructions') %p.lead= t('author_attribution.then_instructions')
.fields-group .fields-group
= f.input :attribution_domains_as_text, as: :text, wrapper: :with_block_label, input_html: { placeholder: "example1.com\nexample2.com\nexample3.com", rows: 4 } = f.input :attribution_domains_as_text, as: :text, wrapper: :with_block_label, input_html: { placeholder: "example1.com\nexample2.com\nexample3.com", rows: 4, autocapitalize: 'none', autocorrect: 'off' }
.actions .actions
= f.button :button, t('generic.save_changes'), type: :submit = f.button :button, t('generic.save_changes'), type: :submit