Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Conversation

@clarkt
Copy link
Contributor

@clarkt clarkt commented Mar 26, 2018

Oppdatering til releaseversjon av bootstrap 4

clarkt and others added 30 commits January 10, 2018 15:26
{{# checkboxes }}

<div class="custom-control {{#isInline}}custom-control-inline{{/isInline}} custom-checkbox a-custom-checkbox {{# inactive }} inactive {{/ inactive }} {{# isDiscreet }} a-form-checkboxes--discret {{/ isDiscreet }}">
<input type="checkbox" {{# isChecked }}checked="checked"{{/ isChecked }} class="custom-control-input" {{# data-toggle }} data-toggle="{{ data-toggle }}"{{/ data-toggle }}{{# data-target }} data-target="{{ data-target }}"{{/ data-target }} id="{{checkboxID}}" required {{# inactive }} disabled {{/ inactive }}>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need option to customize it like {{# isRequired }} required {{/ isRequired }} ? This is done in radio button

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I have fixed this.

"radio-class": "a-js-feedbackToggle",
"radiobuttons": [
{
"isInline" : true,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs some indentation

},
{
"additional-classes": "col-3 hidden-sm-down a-list-sortHeader",
"additional-classes": "col-3 d-none d-sm-block a-list-sortHeader",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this not 'd-none d-md-block'?

},
{
"additional-classes": "col-3 hidden-sm-down a-list-sortHeader",
"additional-classes": "col-3 d-none d-sm-block a-list-sortHeader",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'd-none d-md-block' right?

},
{
"additional-classes": "col-3 hidden-sm-down",
"additional-classes": "col-3 d-none d-sm-block",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

},
{
"additional-classes": "col-3 hidden-sm-down",
"additional-classes": "col-3 d-none d-sm-block",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

"link-class": "a-btn-blue-noUnderline text-right a-fontBold a-fullWidthLink collapsed a-visibleWhenInitial a-hiddenWhenExpanded an-collapse-button pr-0 pr-md-5",
"link-url": "#",
"link-text": "<span class='hidden-sm-down'>Utvid</span>",
"link-text": "<span class='d-none d-sm-block'>Utvid</span>",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d-md-block

"link-class": "a-btn-blue-noUnderline text-right a-fontBold a-fullWidthLink a-visibleWhenExpanded an-collapse-button pr-0 pr-md-5",
"link-url": "#",
"link-text": "<span class='hidden-sm-down'>Lukk</span>",
"link-text": "<span class='d-none d-sm-block'>Lukk</span>",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d-md-block

},
{
"additional-classes": "col-3 hidden-sm-down",
"additional-classes": "col-3 d-none d-sm-block",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d-md-block

},
{
"additional-classes": "col-3 hidden-sm-down",
"additional-classes": "col-3 d-none d-sm-block",
Copy link

@ghost ghost Mar 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d-md-block, in all the places in this file. I suspect this is probably done with purpose?

@import './../../node_modules/bootstrap/scss/type';
@import './../../node_modules/bootstrap/scss/images';
/*@import './../../node_modules/bootstrap/scss/code';*/
// @import './../../node_modules/bootstrap/scss/code';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems commented. Should we remove this?

@import './../../node_modules/bootstrap/scss/badge';
@import './../../node_modules/bootstrap/scss/jumbotron';
/*@import './../../node_modules/bootstrap/scss/alert';*/
// @import './../../node_modules/bootstrap/scss/alert';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be removed

/*@import './../../node_modules/bootstrap/scss/carousel';*/

// Utility classes
// @import './../../node_modules/bootstrap/scss/carousel';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be removed

// Reset and dependencies
// @import './../../node_modules/bootstrap/scss/normalize';
// @import './../../node_modules/bootstrap/scss/print';

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the commented lines

display: block;

.custom-radio {
.a-radioButtons-excerpt {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also change the name 'custom-radio' in line 674 to 'a-radiobuttons-excerpt'?

display: inline-block;
margin-right: $spacer * 2;
}
.custom-control-input {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just wondering if we should change 'custom-control' to 'custom-control-input' in line 696 as well?

Copy link
Member

@acn-dgopa acn-dgopa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can merge and fix those comments if they are something to be fixed
I have commented on some of the changes on another login which i noticed later.
My observations:

  1. Few class names (like custom-control) seem to be not updated both in css files and mustache files but i also suspect that it might be on purpose
  2. Checkbox and radio buttons seem to be not functioning properly sometimes, f.eks, when i click it doesnt get selected, this happens sometimes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants