Commit 52175e81 authored by Dominique Feyer's avatar Dominique Feyer

TASK: Fix broken attributes

parent b3ae7419
Pipeline #2044 passed with stage
in 1 minute and 1 second
......@@ -38,24 +38,25 @@ export class Dropdown {
return (
<div>
<neos-form-input-wrapper label={this.label}>
<slot name="metadata" slot="metadata"/>
<slot name="before" slot="before"/>
<div className={this.wrapperClassName()}>
<a href="#" className="dropdown" onClick={(e) => this.toggle(e)}>
<div className="icon">
<slot name="metadata"/>
<slot name="before"/>
<div class={this.wrapperClassName()}>
<a href="#" class="dropdown" onClick={(e) => this.toggle(e)}>
<div class="icon">
<neos-icon name="file"/>
</div>
<div className="selected-label">{this.activeLabel ? this.activeLabel : this.placeholder}</div>
<div className="toggle">
<div class="selected-label">{this.activeLabel ? this.activeLabel : this.placeholder}</div>
<div class="toggle">
<neos-button squared theme="transparent">
<neos-icon name="chevron-down" type="solid"></neos-icon>
</neos-button>
</div>
</a>
<div className="dropdown-list">
<div class="dropdown-list">
<slot/>
</div>
</div>
<slot name="after"/>
</neos-form-input-wrapper>
</div>
);
......
......@@ -250,8 +250,8 @@ export class FormInput {
return (
<label>
<neos-form-input-wrapper label={this.label}>
<slot name="metadata" slot="metadata"/>
<slot name="before" slot="before"/>
<slot name="metadata"/>
<slot name="before"/>
<input
ref={input => this.nativeInput = input as any}
aria-disabled={this.disabled ? 'true' : false}
......@@ -283,7 +283,7 @@ export class FormInput {
onFocus={this.onFocus.bind(this)}
onKeyDown={this.inputKeydown.bind(this)}
/>
<slot name="after" slot="after"/>
<slot name="after"/>
</neos-form-input-wrapper>
</label>
);
......
......@@ -37,7 +37,7 @@ export class InspectorGroupHeader {
render() {
return (<header
onMouseEnter={() => this.mouseEnterHandler()}
onmouseleave={() => this.mouseLeaveHandler()}
onMouseLeave={() => this.mouseLeaveHandler()}
onClick={() => this.neosVisibilitySwitchedHandlerHandler()}
>
<neos-icon squared name={this.icon} type="solid"></neos-icon>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment