Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDFHER-98 - Hide the drupal "Apply" button in search-full-text form #750

Closed

Conversation

kasperbirch1
Copy link
Contributor

@kasperbirch1 kasperbirch1 commented Oct 24, 2024

Link to issue

https://reload.atlassian.net/browse/DDFHER-98
danskernesdigitalebibliotek/dpl-cms#1678

Description

The "Apply" button in the Drupal form cannot be removed directly in the view, so it is hidden using CSS to prevent it from displaying.

Before:
Skærmbillede 2024-10-24 kl  11 00 44
After:
Skærmbillede 2024-10-24 kl  11 01 45

The "Apply" button in the Drupal form cannot be removed directly in the view, so it is hidden using CSS to prevent it from displaying.
@kasperbirch1 kasperbirch1 changed the title Hide the drupal "Apply" button in search-full-text form DDFHER-98 - Hide the drupal "Apply" button in search-full-text form Oct 24, 2024
kasperbirch1 added a commit to danskernesdigitalebibliotek/dpl-cms that referenced this pull request Oct 24, 2024
Because AJAX is now set to true, it searches on each key press. Therefore, the `autosubmit` is set to false. The downside of this is that there is now an “apply” button in the full text input. This will be removed with CSS:
danskernesdigitalebibliotek/dpl-design-system#750
@kasperbirch1
Copy link
Contributor Author

We moved the CSS inside the base.css we have in Drupal CMS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants