Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #26209
Closed
Open
Issue created Apr 06, 2018 by Administrator@rootContributor

_input_group.scss fails to compile without _forms.scss

Created by: alecho

Error when not importing scss/_forms.scss but importing scss/_input_group.scss.

I was under the impression that we could create custom builds by importing the necessary modules "a la carte". Having one depend on the other is a little unexpected.

Error: ".input-group-lg > .form-control" failed to @extend ".form-control-lg".
       The selector ".form-control-lg" was not found.
       Use "@extend .form-control-lg !optional" if the extend should be able to fail.
        on line 124 of node_modules/bootstrap/scss/_input-group.scss
>>   @extend .form-control-lg;
   ----------^

https://github.com/twbs/bootstrap/blob/4880385b8f22261ca4946ef9568b61ba8f0500c5/scss/_input-group.scss#L124

Happy to open a PR if the suggested fix of appending !optional is indeed correct.

Assignee
Assign to
Time tracking